v1.3.1 Now Available • macOS 14.0+ • 100% Open Source

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
Copied to clipboard!
0% Idle CPU Usage
0 MB Background RAM
< 15ms Execution Time
100% Local & Private

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: Live Dispatch Inspector
⌨️
Hold Fn Key Override
Bypass all rules instantly
ROUTING PIPELINE Dispatched in 11ms
1
Link Intercepted
mailto:dev@acme-corp.com
2
Rule Evaluation
Matched domain rule @acme-corp.com
3
Target Execution
Directing to Outlook 365 (Webmail)
🏢
Outlook 365 (Work Webmail)
Opening browser tab with pre-filled composer:
https://outlook.office.com/mail/deeplink/compose?to=dev@acme-corp.com
12 ms 0% CPU / Exit

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

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.

Background CPU: 0.00% • Idle RAM: 0.00 MB
⌨️

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}.

Gmail Outlook 365 Fastmail Outlook.com Yahoo Mimestream Apple Mail Custom URL

Install mailto: in seconds

Pick your preferred installation method below.

The fastest, cleanest way to install and keep mailto: updated automatically via Homebrew.

zsh
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.

Download mailto.zip (v1.3.1) Universal macOS Binary • macOS 14.0+
💡 Note on First Launch (macOS Security)

As a community open-source project without a $99/yr Apple certificate, macOS may ask for first-time permission:

  1. Unzip and drag mailto.app into /Applications.
  2. If prompted on first click, click Done, then open System Settings > Privacy & Security, scroll down and click Open Anyway.
  3. Or run xattr -cr /Applications/mailto.app in Terminal to unlock instantly.

Compile locally using Swift 6.0 and standard Apple toolchains.

terminal
# 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?
Unlike traditional apps that stay running in your dock or menu bar, 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?
When a link is clicked, 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?
Yes! Native Manifest V3 extensions for Chrome and Safari are currently on our roadmap to allow in-tab intercepting for users who prefer in-browser handling.
Does mailto: collect any analytics or email addresses?
Never. 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.