Test any email, SMS or user action with one API

Mailosaur removes the frustration of testing everything a user might do. Test password resets, replies, two-factor logins, and more.

npm create mailosaur

Trusted by global brands and up-and-comers alike

Assortment of brand logos including Forbes, Uber, Paypal, Checkout.com, UEFA and Aer Lingus.
Assortment of brand logos including Forbes, Uber, Paypal, Checkout.com, UEFA and Aer Lingus.

Automated testing that won't take all week

Email testing

Create end-to-end tests of all-important processes. Test account verification emails, password resets, email tracking, and more.

SMS testing

There’s more to customer comms than email. Simulate SMS messages for identity verification, alerts, security, and promotional messages.

Email screenshots

Prevent formatting errors. Instantly see how your email will look to any recipient, no matter what email client they use.

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.

// 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');

Get going immediately with our powerful API, designed for automation

Whether you’re working with Cypress, Selenium, Webdriver.io, Robot Framework or anything else, Mailosaur's capable API helps get your tests running in minutes.

Plug and play

Ready-made code snippets can have you testing in minutes.

Here to get you started

Our engineers can help you get your proof of concept up and running.

New message
To
@you.mailosaur.com
Cc Bcc
Subject
Message

Your complete email and SMS testing tool

Easily ensure every customer communication is working as intended.

Unlimited email addresses

Use a unique email address for every test, build, team member, environment, or use case. It’s up to you.

Two-factor authentication

Automate one-time password testing across email, app, and SMS with just a few lines of code.

Global SMS coverage

Access international mobile numbers that are unique to your business,
so you don’t use your own phone.

New message
To
@you.mailosaur.com
Cc Bcc
Subject
Message
Outlook window with broken link alerts and code window
Outlook window with broken link alerts and code window

Simple, effective, fast

Test more thoroughly and save hours a week in the process.

Deliverability

Stop your emails ending up in the spam folder. See what’s causing issues and why.

Simulate real scenarios

Don’t just test messages in isolation. Check everything works across customer journeys, like account recovery or purchase updates.

Get going in minutes

Use comprehensive guides and the expertise of our team to get your tests running quickly.

Relied on by customers

Mailosaur exists to solve a business challenge. Our customers tell us it does just that.

This is the easiest solution to test your emails and I can show you how it works in 5 minutes.
Logo for the software company Cypress

Cypress ambassador

Getting started with Mailosaur proved to be remarkably easy and convenient.
Dominos logo

Mekin Orun, Manager of Software Quality Engineering at Domino's

The single biggest reason we would recommend Mailosaur to others, would be for its overall ease of use and comprehensive features.
Malwarebytes logo

Rohit Sonak Sr. Director, Quality Engineering at Malwarebytes

Automate anything your users do

Pick your plan, or start a free 14-day trial today.