Unlimited test email accounts.

Create unlimited private email addresses on demand in code, tests, or using the MailSlurp web app. Automate email workflows, test end-to-end, and power your email applications.

MailSlurp
Developer first email accounts

The easier and most power email API. Create and control email accounts in every programming language you can think of. Receive emails and attachments with HTTP Webhooks, SDKs clients and more.

Language
Example
// 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")

Unlimited email addresses at your finger tips

Create real email address on demand using custom domains or addresses randomly assigned for testing. Private SMTP mailservers with a powerful HTTP API and visual dashboard. Team access for QA testers, developers, and social marketing.

Test mailserver SMTP

Test email end-to-end and power your applications

Use Selenium, CypressJS, and QA testing frameworks to test user sign-up, password reset, invoicing and more using real email addresses. Use Zapier integrations for no-code email automation. Send and receive transactional emails using HTTP, SMTP, or developer SDKs.

Email API dashboard

Trusted by thousands of businesses

AxelSpringer
Trivago
Broadcom
Ring
NIB
Panasonic

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

Unlimited Email Addresses

Create real email inboxes on demand. Write code or use our online dashboard. Create randomly assigned email addresses or use your own custom domain. Create test email accounts, messaging bots, automated responses and more with MailSlurp's powerful email tools.

Read more about Create real email inboxes on demand. Write code or use our online dashboard. Create randomly assigned email addresses or use your own custom domain. Create test email accounts, messaging bots, automated responses and more with MailSlurp's powerful email tools.

Receive Emails in Code

Fetch emails and attachment in code and tests. Automatic HTTP long-polling, WebSockets, and WebHook messaging. Use search, pattern-matching and callbacks. Get emails as JSON objects, octet-streams, or raw SMTP messages.

Read more about Fetch emails and attachment in code and tests. Automatic HTTP long-polling, WebSockets, and WebHook messaging. Use search, pattern-matching and callbacks. Get emails as JSON objects, octet-streams, or raw SMTP messages.

QA Test Email Processes

End-to-end test user sign-up and account verification using real email addresses. Test newsletters, notifications, HTML templates, attachments, and more.

Read more about End-to-end test user sign-up and account verification using real email addresses. Test newsletters, notifications, HTML templates, attachments, and more.

HTML Previews and Spam Analysis

Powerful online dashboard for reading and composing emails, viewing attachments, and validating HTML. Team access available.

Read more about Powerful online dashboard for reading and composing emails, viewing attachments, and validating HTML. Team access available.

Email Masking and Aliases

Create email proxies that hide your email from spammers. Create email aliases that forward to your hidden address.

Read more about Create email proxies that hide your email from spammers. Create email aliases that forward to your hidden address.
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