Skip to content

Spuds0588/MailLayer

Repository files navigation

MailLayer

Integrated Email for the Modern Web.

MailLayer is a lightweight Chrome extension that intercepts mailto: links and auto-detects plain-text email addresses, instantly converting them into deep links for your preferred webmail client (Gmail, Outlook Web, or Yahoo Mail). It loads the deep-linked composition window either inside a native-feeling Pop-up Window or in the native Chrome Side Panel. No clunky desktop email clients, no tracking, and zero API integrations needed.

🚀 Key Features

  • Webmail Deep Linking: Automatically generate native compose links for Gmail, Outlook Web, or Yahoo Mail.
  • Auto-Detection (Magic UX): Scans and transforms plain-text email addresses on any webpage into clickable MailLayer links.
  • Smart Interception: Prevents disrupted browser redirects and clunky desktop app launches.
  • Flexible UI Experiences: Load deep compose links directly in a borderless, focused Pop-up Window or the native Chrome Side Panel.
  • High Compatibility & Low Scrutiny: Removed template and signature engines, Quill JS, and OAuth2/identity permissions. Requires minimal permissions and least approvals for fast Chrome Web Store listing.
  • Site Exclusions: Easily blocklist specific domains where you want to disable auto-detection.

🛠️ Technical Pattern

  1. Event Delegation & Auto-Detect: Catches all interactions at the document level and scans for plain-text email addresses via Content Scripts.
  2. declarativeNetRequest (DNR): Strips X-Frame-Options and Content-Security-Policy header constraints to allow seamless loading of Gmail, Outlook, or Yahoo Mail compose editors directly within the Side Panel iframe.
  3. No Middleman Servers: Complete privacy. Direct communication between your browser and your preferred email providers.

📦 Installation

  1. Clone this repository.
  2. Open Chrome and navigate to chrome://extensions.
  3. Enable Developer mode in the top right corner.
  4. Click Load unpacked and select the extension folder.
  5. Configure your Preferred Provider and Experience inside the Settings options page.

📄 License

MIT License - see LICENSE for details.

About

Chrome Extension to turn email links across the web into a native email experience

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors