MailSlurp logo

Playwright email + SMS automation

Create and control email accounts and phone numbers in Playwright to capture codes, verify accounts, and run full end-to-end tests. Use real user identities in QA today.

Extract codes from email and TXT messages in Playwright tests

Trusted by top companies worldwide

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

E2E QA

Real user tests

Generate unlimited genuine user accounts with real email addresses and mobile numbers, then send / receive email and SMS inside your Playwright suites.

Real user accounts

Spin up real user identities during Playwright runs. Assign email addresses and phone numbers to user fixtures during each QA test run.

Explore

Reliable, repeatable tests

No more manual checks or flaky flows—MailSlurp is built for end-to-end automation with deep Playwright integrations.

Explore

Unique test helpers

Wait for matching messages, pull out links or OTP codes, and complete flows such as verification or password reset.

Explore

Faster delivery

Skip raw SMTP or Gmail hacks—get unlimited email accounts instantly with MailSlurp.

Explore

Key workflows

Move from evaluation into a concrete MailSlurp workflow, then expand once the first path is running cleanly.

Playwright Plugin

Provision real email accounts and numbers on demand. Test critical app flows end-to-end using native integrations for Playwright in every language.

MailSlurp product screenshot

Provision real phone numbers

Spin up regional numbers for OTP, account verification, and messaging workflows with API control.

Provision real phone numbers

Capture real OTP traffic

Wait for SMS codes and validate mobile verification flows in CI and staging with deterministic message retrieval.

Capture real OTP traffic

Developer integration

Use inbox APIs, SMTP, and webhook events in the same workflow

Start with SDK helpers for inbox creation and message waits, then move into event-driven routing when the workflow expands.

  • Generated SDKs for major languages
  • API + SMTP + IMAP support where needed
  • Docs-backed patterns for inboxes and message assertions

Make your tests matter

Make your tests matter

Get started with MailSlurp Playwright plugins