Unlimited email addresses on demand

The most powerful email sandbox API and dashboard. Unlimited email inboxes with auto-forwarding, webhooks and routing. Create and control email accounts in code or online. Build for developers, QA testers, and marketing teams.

MailSlurp

Trusted by thousands of businesses

AxelSpringer
Trivago
Broadcom
Ring
NIB
Panasonic

How teams use MailSlurp

Email API

Developers

Create email addresses for tests and applications using SDKs, graphql, or REST API. Receive emails in code, using webhooks, or IMAP/SMTP. Disposable test email accounts or permanent custom domains.

Developer guide and examples

QA Testers

Test email sign-up verification or end-to-end test email functionality in applications. Use throw away email addresses for every test with common frameworks like Junit, Cypress, Selenium, Rspec, and more!

Using test email accounts

Marketing

Send templated emails to contact groups. Mass send bulk campaigns, manage customers and view email-opened tracking. Analyze spam rating and send and receive transactional emails in code and online.

Transactional email guides

Email plugins for every developer

Email integrations for every developer, QA team and campaign manager. Receive emails via Webhook Push, GraphQL, Rest API, or one of the official libraries shown below. MailSlurp has a wide range of example projects in common frameworks like CypressJS, XUnit, Jest, Junit, Rspec and more.

Practical code examples

MailSlurp has hundreds of example project repositories, detailed developer guides, and a technical support team. Please see the pricing page for plan options.

Example
Language
// install package with `npm install --save mailslurp-client`
import { MailSlurp } from "mailslurp-client"

// instantiate a client with API KEY
const mailslurp = new MailSlurp({ apiKey: 'your-api-key' })

// create an inbox with a random email address ending in @mailslurp.com
const { emailAddress, id } = await mailslurp.createInbox()
expect(emailAddress).toContain("@mailslurp.com")

// for full control over inbox email addresses use a custom domain
const customInbox = await mailslurp.createInbox("test@mydomain.com")

Powerful dashboards

Join the no-code revolution — test email workflows, send campaigns, create email addresses and more right from your browser. The full MailSlurp API without the need to write code.

Create free account
App screenshot
Email in code examples

MailSlurp is used by thousands of developers and QA testers in a wide range of frameworks and languages. Create real inboxes of demand, send and receive emails and attachments in code and tests. View one of the many sample projects to get started.

Developers

Empower your teams

Test your application and email processes end-to-end. Give your teams the tools to deploy products with speed and confidence.

Create a free account