mailto: links and launch native compose windows for Gmail, Outlook, and Yahoo Mail instantly.
<script src="https://embedded.maillayer.wiki/maillayer.js"></script>
No backend required. No OAuth credentials or server API keys to configure. Simply drop the script onto your page and start intercepting links.
Launches a clean, distraction-free webmail composition window directly in the visitor's preferred web mail provider.
Set global or per-link preferences for Gmail, Outlook Web, and Yahoo Mail using simple data attributes.
Optionally scan your page for plain-text email addresses and automatically transform them into native MailLayer triggers.
Makes webmail work seamlessly with modern web experiences without complicated or broken browser protocol handlers.
Built with transparency and privacy in mind. Fully open source and free to use in your personal or commercial projects.
<!-- Intercept standard links -->
<a href="mailto:support@example.com">Contact Support</a>
<!-- Or use custom triggers with locked fields -->
<button class="maillayer-trigger"
data-maillayer-to="hiring@example.com"
data-maillayer-lock-to="true"
data-maillayer-color="e03616">
Apply Now
</button>