Stop wrestling with mailto: links on your Mac.
The ultra-lightweight, zero-footprint router that intercepts clicked email links in Safari, Chrome, Slack, and Notion — automatically dispatching them to Gmail, Fastmail, Outlook 365, or your favorite desktop client.
brew install --cask atalayhuryasar/tap/mailto
See how mailto: handles clicks in real time
Try clicking different email scenarios below to see how rules, webmail templates, and the Fn modifier instantly dispatch links.
mailto:dev@acme-corp.com
The clean alternative to bloated email handling
Traditional solutions either force heavy desktop apps or run background daemons. mailto: rethinks email routing from first principles.
macOS Default Behavior
What happens when you click an email link out of the box.
- Opens Apple Mail desktop client automatically
- Freezes for 3-5 seconds while the heavy client initializes
- No webmail support (Gmail, Fastmail, Outlook 365)
- Cannot split work vs. personal addresses
- No option to just copy email address
mailto:
Lightweight, instant, zero background footprint.
- 0 MB idle RAM: Exits immediately after routing
- Direct webmail dispatch: Gmail, Fastmail, 365, Yahoo
- Smart Domain Rules: Work to Outlook, Personal to Gmail
- Instant Fn Shortcut: Bypass rules on demand
- Copy to Clipboard mode: Clean address extraction
- 100% Free & Open Source: Zero tracking or daemons
Heavy Background Daemons
Third-party mail managers and extensions.
- Permanently sits in menu bar consuming 80-150MB RAM
- Browser extensions only work inside that single browser
- Fails when links are clicked in Slack, Teams, or PDF docs
- Many require paid subscriptions or track analytics
Engineered with obsessively clean craftsmanship
Designed to feel like a native, missing macOS capability.
Zero Background Overhead
mailto: registers cleanly with macOS LaunchServices without running any background helpers, login items, or menu bar daemons. When an email link is clicked, it initializes in 8ms, dispatches the URL, and terminates immediately.
The Magic Fn Key
Hold the Fn key while clicking any email link to bypass all matching rules and route directly to your designated alternative client or clipboard.
Smart Domain Matching
Create rules targeting exact addresses (team@corp.com), domains (acme.org), or subdomains with priority sorting.
Source Application Filters
Differentiate where links were clicked. Send links clicked in Slack or Teams to your work client, and links clicked in Discord or Safari to personal webmail.
Built-in Webmail & Custom Compose Templates
Pre-configured deep-links for Gmail, Fastmail, Outlook 365, Outlook.com, Yahoo, Yandex, AOL, and Zoho. Plus, construct custom compose URLs with dynamic placeholders like {to}, {subject}, and {body}.
Install mailto: in seconds
Pick your preferred installation method below.
The fastest, cleanest way to install and keep mailto: updated automatically via Homebrew.
brew tap atalayhuryasar/tap
brew trust atalayhuryasar/tap
brew install --cask mailto
✓ Automated installation directly to /Applications.
Download the standalone pre-compiled macOS application bundle.
As a community open-source project without a $99/yr Apple certificate, macOS may ask for first-time permission:
- Unzip and drag
mailto.appinto/Applications. - If prompted on first click, click Done, then open System Settings > Privacy & Security, scroll down and click Open Anyway.
- Or run
xattr -cr /Applications/mailto.appin Terminal to unlock instantly.
Compile locally using Swift 6.0 and standard Apple toolchains.
# Clone and build
git clone https://github.com/atalayhuryasar/mailto.git
cd mailto
./scripts/build-app.sh
open "build/mailto.app"
✓ Locally built apps bypass Gatekeeper automatically.
Frequently Asked Questions
How does mailto: consume 0% idle CPU and RAM?
mailto: configures itself solely as a LaunchServices URL handler with LSUIElement=true. When you click a mailto link, macOS wakes the process, mailto: parses the link and dispatches it according to your rules in under 15ms, and then terminates immediately.
How does the Fn key override work?
mailto: inspects the system hardware flags for the Fn (Globe) key. If you are holding Fn during the click, it bypasses all domain rules and immediately routes to your pre-configured Alternative Target (e.g. Apple Mail or Clipboard).
Are in-browser Chrome and Safari extensions planned?
Does mailto: collect any analytics or email addresses?
mailto: has no analytics SDKs, no tracking pixels, and does not make any external network requests other than directing your browser to the webmail URL you configured. All settings are stored locally in your Mac's UserDefaults.