MailSlurp logo

Cypress plugin

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.

Cypress email and SMS testing with MailSlurp

Trusted by teams shipping customer messaging

  • 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

Reliable, repeatable tests

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

Unique test functions

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

Faster delivery

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

Cypress JS email and SMS testing

Key workflows

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

Workflow 01

Cypress Plugin

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

MailSlurp product screenshot
MailSlurp product screenshot

Workflow 02

Write tests that matter

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

Workflow 03

Wait for email and SMS

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

MailSlurp product screenshot

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