Skip to content
MailSlurp logo
Email and SMS QA testing workflow

Test email delivery, OTPs, and SMS with real inboxes

Use MailSlurp real inboxes and phone numbers for deterministic QA testing of signup, password reset, magic link, OTP, billing, and notification paths.

Trusted by top companies worldwide

  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic
QA inboxes + SMS
Programmable test inboxes and phone numbers for QA workflows

Programmable test inboxes and phone numbers

Generate isolated real email accounts and phone numbers for QA suites, then control them from Playwright, Cypress, CI, and no-code dashboards.

Build repeatable checks for OTP, magic links, password resets, notifications, load tests, webhooks, aliases, custom domains, and 20+ global mobile providers.

Automate OTP and MFA tests with real messages

Create a real test identity, receive the SMS or email verification code with MailSlurp, submit it in the browser, and keep repeatable evidence for every authentication run.

9:41
MailSlurp
iMessageToday 9:32 AM
Your MailSlurp verification code is 482913.
Code received.
+
iMessage

Compare emails on different devices

Use MailSlurp device previews to review customer-facing templates across live mailbox clients, mobile devices, desktop contexts, and dark-mode variants before launch.

Audit the email that actually arrived.

Open a delivered message and run the audit from the inbox. Review the health score, work through broken assets, personalization, accessibility, HTML support and sender findings, then send another test to confirm the fixes.

What MailSlurp offers

Test end-to-end with confidence. Use MailSlurp's deterministic messaging platform for critical QA workflows.

E2E email & SMS testing

Use disposable or permanent inboxes and phone numbers for reliable integration testing across signup, billing, alerts, and support paths.

OTP, 2FA, and magic link assertions

Extract codes and links from real messages so Playwright, Cypress, Selenium, and CI tests can assert authentication flows deterministically.

Delivery and spam checks before release

Pair message assertions with spam checks, inbox placement, and sender-auth diagnostics when a release depends on delivery quality.

Email regression testing

Audit email content, headers, links, attachments, and rendering across real inboxes and providers.

CI release gates

Block risky releases when OTP extraction, password reset links, message headers, or notification content regress.

Testing SDKs

Automate real email and SMS assertions from test code

Use the MailSlurp API and SDKs to create inboxes and phone numbers, receive messages, extract OTP codes, assert links and content, and gate releases in CI.

MailSlurp testing examples
import { test, expect } from "@playwright/test";
import { MailSlurp } from "mailslurp-client";

test("signs up with a real confirmation email", async ({ page }) => {
  const mailslurp = new MailSlurp({
    apiKey: process.env.MAILSLURP_API_KEY!,
  });
  const inbox = await mailslurp.createInbox();

  await page.goto("https://playground.mailslurp.com");
  await page.getByText("Create account").click();
  await page.getByLabel("Email").fill(inbox.emailAddress!);
  await page.getByLabel("Password").fill("Password123!");
  await page.getByRole("button", { name: "Create" }).click();

  const email = await mailslurp.waitForLatestEmail(inbox.id!, 60_000, true);
  const code = /\b[0-9]{6}\b/.exec(email.body ?? "")?.[0];
  expect(code).toBeTruthy();

  await page.getByLabel("Confirmation Code").fill(code!);
  await page.getByRole("button", { name: "Confirm" }).click();
  await expect(page.getByText("Account confirmed")).toBeVisible();
});

SDKs for automated testing frameworks

Debug message-driven tests with browser evidence

Pair MailSlurp inboxes, message IDs, OTP values, and email content with Playwright traces so QA teams can see exactly where signup, reset, or verification flows failed.

Global messaging scale

Emails processed

500 million+

Infrastructure that scales.

Mobile networks

20+

Leverage global telecom networks.

Mature platform

10+ years

Stable and dependable.