Email API

Powerful Email & SMS APIs for development and testing.

Send and receive emails from unlimited custom email addresses in code and tests. Create real phone numbers and process inbound TXT messages. MailSlurp is the leading email and SMS API for developers, QA testers, and email marketing teams.

Getting started guides

Build email integrations for any use case.

Creating email accounts

Create temporary or permanent mailboxes using MailSlurp domain pool or your own custom domains.

Send and receive emails

Send and receive emails in code or tests using webhooks or waitFor function. Search and match emails.

Inbound SMS/TXT APIs

Process text messages for real phone numbers using webhooks and REST APIs.

Test using real emails

End-to-end test applications using real email addresses.

Powerful developer integrations

Create and control email inboxes in any language or framework.

A feature-rich email platform

Quick setup for any environment

Get started in minutes with developer SDKs, online dashboards, or using your favourite mail client.

Send and receive at scale for any campaign

Transactional email APIs for every use case with email-open tracking, templating, and contact lists.

Real phone numbers for inbound SMS

Process TXT messages at scale. Test 2FA/MFA one-time passwords and SMS login.

Disposable or permanent email inboxes

Create unlimited test email accounts or permanent custom domains. Control mailboxes in code and tests.

Email address validation and bounce reduction

Verify email lists and increase deliverability with DKIM, SPF and bounce webhooks.

Forwarding, route rules, and automation

Create complex email routing rules for forwarding, automation and email proxy.

End-to-end testing, spam rating, and content analysis

Write integration tests using real email addresses. Test user sign-up, email notifications, email verification and more.

SSO team email accounts and inbox sharing

Enterprise mailbox provisioning with single sign-on support for Google, SAML, OAuth2 and more.

Webhooks, content matching and search

Process email events at scale with queue-backed HTTP webhooks.

IMAP, SMTP, and custom domains

Access email accounts in any mail client. Control mailservers from any language or framework.

Test software end-to-end

Test user authentication, forgotten password, email verification and more for your application using real email addresses. Use REST API, developer SDKs, and Zapier integrations to receive emails in code, test user sign up flows, and save new contacts and attachments to Google Drive and more.

Fake SMTP Servers

Capture emails in inbox traps to test emails safely with quick setup, no maintenance, and zero risk of spamming real users. Create virtual inboxes for every environment. Verify email sending without connecting to outbound SMTP servers.

Use email accounts your way

Email integrations for everyone. Pick an approach that suits your workflow.

In applications and tests

Test applications end-to-end with real email addresses or build powerful email functionality that scales.

Using no-code dashboards

Send and receive emails with no-code dashboards. Build campaigns and automation for every use case.

Your favourite Mail client

Connect Mail, Outlook, Thunderbird and more to MailSlurp inboxes using IMAP and SMTP.

Developer Toolkits

Get started in minutes with official MailSlurp integrations in a wide range of languages and frameworks.