mailto: links and provide a native, integrated composition modal without leaving your app.
<script src="https://spuds0588.github.io/MailLayer-Embedded/maillayer.js"></script>
No backend required. No API keys to manage on your server. Just drop the script in and it works instantly via our hosted iframe.
Customize the primary color and theme (light/dark) using simple data attributes to match your website's unique look and feel.
Prevent users from changing the recipient or subject line. Perfect for support forms, feedback triggers, and hiring portals.
Optionally scan your page for plain-text email addresses and automatically transform them into native MailLayer triggers.
Users send emails using their own authenticated accounts. Secure, familiar, and delivered straight to their sent folder.
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>