Skip to content
MailSlurp logo

A Tmail.io alternative for email checks you can repeat.

Create test addresses on demand and inspect the delivered messages. MailSlurp helps your team turn inbox checks into automated journeys.

Separate envelope symbols for independent test inboxes

Trusted by teams at

  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic

Follow the message all the way to the inbox.

Trigger a signup, password reset or order confirmation in your app. Receive the actual email in MailSlurp and inspect its subject, sender, body, headers and attachments. A successful API response is only the start of the journey.

Explore end-to-end email testing
Envelope and custom-domain email address symbols
Separate envelopes for independent test inboxes

One inbox per test

Create separate email addresses for test users and parallel runs. Match each message to the inbox your test created.

An email and hourglass representing a wait for delivery

Wait for the right message

Use wait APIs and message filters to retrieve the expected email within a defined timeout.

Playwright, Cypress, Selenium and k6 testing logos

Finish the customer journey

Extract the verification code or reset link, return to your app and check the next screen.

Email and SMS. One complete test.

A customer can sign up by email and verify a phone number in the same session. Give your test an inbox and a phone number, receive both messages and check the code before continuing.

Use MailSlurp with Playwright, Cypress, Selenium or your existing test runner. Keep the received message available when a failed run needs investigation.

Explore SMS testing
Phone, envelope and verification symbols

Make sure the email works for the person opening it.

An automated assertion can confirm the link exists. Device previews show how the delivered email looks, and Email Audit checks for broken links, missing images and content issues before a release.

See real-client previews
Email previews on mobile, tablet and desktop clients

How to run your first end-to-end check

Create a test identity

Create an inbox for the test user, then enter its address in your application's signup or password-reset form. Use a separate inbox for each parallel run.

Receive and inspect the message

Wait for the expected email. Check the recipient, subject and content, then extract the code or URL your customer needs. The email testing guide covers the workflow.

Complete the action and repeat

Submit the code or open the link in your test session. Assert the application outcome, retain useful failure evidence and add the check to your normal test suite. Start with our Playwright email testing guide.

Choose an address for the life of the test.

Start with the received message

Create a dedicated inbox, enter its address in your app and receive the verification email. Retrieve its content through the API and complete the next action in the same test session.

Set timeouts, filters and cleanup

Use separate addresses for concurrent runs and set retention to suit your debugging needs. Start with one working flow, then add message filters, timeouts and cleanup to keep the suite reliable.

Questions before you switch?

Can the same inbox be shared across test runs?

A dedicated inbox per run makes parallel tests easier to isolate. Create the inbox, associate its identifier with the test and wait only for messages addressed to that recipient. If you keep an inbox for repeated manual checks, inspect message timing and expected content carefully before reusing a code or link. See isolated parallel tests.

Can I use my existing test runner?

Yes. Use MailSlurp APIs or SDKs to create inboxes, wait for messages and retrieve codes or links from Playwright, Cypress, Selenium or another test runner. Complete the action in your application and assert the final state.

Can I test SMS and the appearance of an email too?

Yes. Add phone numbers and SMS checks for verification flows, and use device previews to inspect the delivered email on supported clients. Current plans show the allowances for each capability.

Make the next release a checked one.

Create a test inbox and complete your first email journey.

Email previews across mobile and desktop clients