Test any email, SMS or user action with one API
Mailosaur gives you instant, secure inboxes to test every sign-up, password reset, and authentication flow automatically. Ship faster and release with confidence.

npm create mailosaur@latest


Built for your team
Mailosaur gives your team a dedicated, scalable environment for stress-free message testing.
No more dummy accounts or cluttered inboxes - create test addresses instantly, connect your CI/CD pipeline, and automate everything with flexible APIs and native integrations for Cypress, Selenium, and Playwright.
Book a demo to see how Mailosaur keeps your tests clean, fast, and reliable.
Works with any testing framework
Mailosaur works with the tools you already use. It's quick and easy to add powerful features to your test setup.

Customer stories
“If you couldn’t use Mailosaur anymore, it’d be a serious disruption. I’d only hope the replacement looks and works half as well.”
See Mailosaur in action - free for 14 days
Start your 14-day free trial
Get hands-on with your own test environment. Try every feature, integrate with your stack, and see why teams love testing with Mailosaur.
Book your free demo
Get a sneak peek of the product, and expert insight into how it could transform your testing and fit into your existing stack.

Perfect every pixel before you hit send
Check how your emails appear across clients, devices, and dark mode. Spot broken links, layout bugs, and formatting issues before they reach your users.
Contact our team for special pricing options.

// Step 1: Send an email into Mailosaur
// Step 2: Fetch your message via Mailosaur
const MailosaurClient = require('mailosaur');
const mailosaur = new MailosaurClient('YOUR_API_KEY');
const criteria = {
sentTo: 'anything@YOUR_SERVER_ID.mailosaur.net',
};
const email = await mailosaur.messages
.get(serverId, criteria);
// Step 3: Complete the process
expect(email.subject).toBe('My password reset');// Step 1: Send an email into Mailosaur
// Step 2: Fetch your message via Mailosaur
const MailosaurClient = require('mailosaur');
const mailosaur = new MailosaurClient('YOUR_API_KEY');
const criteria = {
sentTo: 'anything@YOUR_SERVER_ID.mailosaur.net',
};
const email = await mailosaur.messages
.get(serverId, criteria);
// Step 3: Complete the process
expect(email.subject).toBe('My password reset');Automate tests in minutes
With just a few lines of code added to your project
Integrate Mailosaur with any testing framework - Cypress, Playwright, Selenium, and more. Set it up in minutes with just a few lines of code, no matter your framework or language of choice.
Automate flows you never thought you could, from MFA to password resets, and easily replicate real-world scenarios.
To start, make sure you have a Mailosaur plan. Then, just visit our documentation to get started.
Why choose Mailosaur?
Manual and automated testing
Switch seamlessly between manual and automated testing, as you run end-to-end tests for critical flows. Simple setup, reliable results.
Test secure features
Stop skipping tests for secure areas of your product. Test features that are protected by two-step verification or MFA with Mailosaur.
End-to-end visibility
Inspect every detail of your messages, from subject lines to headers and links, in one intuitive dashboard.


Security standards you can trust
We get it - starting any subscription comes with fresh concerns around security.
Mailosaur is ISO 27001:2022 certified, GDPR compliant, and built with strict data controls - so every test message stays private and protected.
Frequently asked questions
Test anything your users might do
Automate end-to-end scenarios, validate emails, and integrate with our API for seamless workflows.
Start your 14 day free trial today.









