Integrated Email for the Modern Web.
MailLayer is a Chrome extension that creates a universal email layer over your entire web experience. It intercepts mailto: links and auto-detects plain-text email addresses, providing an integrated composition experience via an In-Page Modal or the Chrome Side Panel. No more context switching or clunky desktop mail clients.
- Zero Context Switching: Click an email, send your message, and stay exactly where you are.
- Universal Email Detection: Automatically transforms plain-text email addresses on any webpage into clickable links.
- Smart Mailto Interception: Stops disruptive browser redirects and clunky desktop app launches.
- API-Powered Sending: Secure integration with Gmail and Outlook APIs for background sending.
- Keyboard Optimized: Use
Ctrl+Enter(orCmd+Enter) to send instantly andEscto discard. - Rich Text Editor: Fully featured WYSIWYG editor (Quill.js) for professional formatting.
- Email Templates: Save and apply full templates (Subject, CC, BCC, Body) with a single click.
- Global Signatures: Automated rich-text signatures appended to every outgoing message.
- Site Exclusion: Easily blocklist specific domains where you want to disable auto-detection.
- Flexible UI: Choose between a shadow-DOM isolated in-page modal or the native Chrome Side Panel.
MailLayer uses a sophisticated injection pattern to ensure a seamless experience:
- Event Delegation: Efficiently catches all email interactions at the document level.
- Shadow DOM Encapsulation: Protects the modal UI from host site style bleed.
- OAuth Integration: Uses
chrome.identityand MSAL for secure, direct API access. - Auto-Detect Engine: Scans and linkifies text-based email addresses without affecting page performance.
- Exclusion Logic: Respects per-site user preferences to resolve DOM conflicts.
- Clone this repository.
- Open Chrome and navigate to
chrome://extensions. - Enable Developer mode.
- Click Load unpacked and select the
extensionfolder.
MIT License - see LICENSE for details.