MailSlurp logo
Cypress email and SMS testing with MailSlurp

Cypress JS email + SMS automation

Create and control email accounts and phone numbers in Cypress to extract code, verify accounts, and test end-to-end. Use real user accounts in QA today.

Trusted by top companies worldwide

  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic
  • 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 and receive email and SMS in CypressJS test suites.

Real user accounts

Create real user accounts during tests in Cypress

Explore

Reliable, repeatable tests

No more manual testing or flaky QA. MailSlurp is built to E2E testing.

Explore

Unique test functions

Wait for matching email content, extract code and links, perform real user actions like verification and password reset.

Explore

Faster delivery

Don't waste time integrating raw SMTP or Gmail APIs. Get unlimited real email accounts with MailSlurp.

Explore
MailSlurp product screenshot

Cypress Plugin

Generate real email accounts and phone numbers on demand. Test critical application functions end-to-end.

MailSlurp product screenshot

Write tests that matter

Use email and SMS naturally in Cypress to test user sign-up, forgotten password, and account verification.

MailSlurp product screenshot

Wait for email and SMS

Capture OTP/2FA/MFA codes during testing with powerful MailSlurp helper functions.

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 Cypress plugins