Modern Email APIs

For QA, developers, marketing teams and more.

Create unlimited private email addresses on demand in code, tests, or online. Send and receive emails and attachments and process emails with HTTP Webhooks, Zapier integrations, and team dashboards.

MailSlurp

Trusted by thousands of businesses

AxelSpringer
Trivago
Broadcom
Ring
NIB
Panasonic
Developer first email accounts
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")

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.
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.