Testing Email with Cypress JS and MailSlurp

Email testing with Cypress JS

MailSlurp is a free Javascript plugin for Cypress JS that lets you create real email addresses in tests then send and receive emails from them.

What is CypressJS

Cypress is a browser testing tool that lets you automate end-to-end testing of your website.

Why test email in Cypress JS?

Many applications today use email. Either for user sign-up, password verification, transactional email, newsletters, and more.

But testing with real email addresses is hard. That's why MailSlurp was created. It lets you generate test email accounts that can send and receive emails. It has an official NPM integration and works well with Cypress async.

See it in action!

Related content

Golang email library

Golang Email Library for sending and receiving emails in Go over SMTP or HTTP/S.

Javascript email libraries for MailSlurp

Nodemailer alternatives to send and receieve email in code and tests

MailSlurp Zapier Email Plugin

Create email accounts to send and receive emails and attachments as Zapier actions and triggers.

Email for testing

Test email accounts for email testing. Alternatives to Mailinator, MailTrap, Mailosaur and more.

How to wait for Selenium to start during Codeception tests

Example tutorial for how to wait until webdriver and Selenium have started during Codeception PHP tests

Email API for email marketing and more

APIs for email marketing and social campaign testing. Send, receive, validate and test emails in code and online.

Ready to dive in?Start building email applications today.