MailSlurp logo

Email addresses you can program.

Create unlimited inboxes or connect Gmail and Outlook. Send, receive and process email and attachments through APIs, SDKs and webhooks - for applications, automated tests and AI agents.

Programmable email with hosted inboxes, Gmail and Outlook

Trusted by top companies worldwide

  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic
  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic

An email address for every test, app and agent.

Create unlimited inboxes without running a mail server. Keep permanent addresses for applications or create disposable inboxes for tests. Choose custom domains and aliases, or connect Gmail and Outlook, then manage your messages through APIs or the dashboard.

Explore inboxes
Emails routed into three separate inbox trays labelled test-1, test-2 and test-3
Playwright, Cypress and Selenium alongside TypeScript, Python and Java

Works with your test platforms

Create inboxes from Playwright, Cypress, Selenium or your own application. Use an official SDK in your language or call the REST API.

Find your SDK
An open email containing an example verification code

Wait for the right message

Match the sender, subject or recipient before reading a message. Extract a verification code or link to complete signup, password recovery or another customer journey.

Explore email waits
GitHub, GitLab, Azure DevOps, Docker and Jenkins for automated email tests

Built for parallel tests and CI

Give each test or worker its own inbox. Wait for the expected email instead of relying on fixed sleeps or messages left behind by another run.

Explore email testing

Send and receive email in your language.

Create an inbox, send a message and wait for a reply without building your own mail server. Use official SDKs or call the REST API directly.

JavaScript, TypeScript, Python, Java, C#, PHP, Ruby and more. Existing mail clients can connect through SMTP and IMAP.

Browse APIs and SDKs
MailSlurp SDKs and programming languages

SDKs for your language

Create inboxes, send email and read messages with JavaScript, TypeScript, Python, Java, C#, PHP and more. Or call the REST API directly.

Find your SDK
Playwright, Cypress, Selenium and k6

Your existing test frameworks

Verify signup, OTP and password reset flows in Playwright, Cypress and Selenium. Test email under load with k6 and JMeter.

Explore test integrations
Claude, ChatGPT, Gemini and Zapier

AI agents and automation tools

Give agents an inbox through MCP and APIs. Receive requests, draft replies and connect email to Zapier workflows with scoped account access.

Connect your agent

Powerful APIs

Find the email you need, extract useful content and turn incoming messages into actions. Read headers, query HTML and stream attachments through the same API.

Explore the API
An email and message documents beside programming braces
A magnifying glass selects message content for extraction into structured fields

Matching and extraction

Wait for messages that match your sender, subject or recipient. Extract codes and links with pattern matching, or use AI to turn message content into structured fields.

Match and extract content
An incoming email branches to an API endpoint, a forwarded message and an automatic reply

Webhooks & automations

Trigger your endpoint when email arrives. Forward matching messages, route aliases and send automatic replies without repeatedly checking an inbox.

Automate incoming email
PDF, EML and text documents connected for streaming and processing

Files & protocols

Stream attachments and raw messages, inspect headers and MIME parts, and process content at scale. Use HTTP APIs alongside SMTP and IMAP for your existing mail tools.

Work with files and content

Trigger your application when email arrives.

Create webhooks to send email events to your endpoint. Start a support workflow, process an incoming order or notify your application without repeatedly checking an inbox. Inspect delivery history and HTTP responses when something needs attention.

Create an email webhook
MailSlurp webhook event history showing endpoint response codes
Webhook history shows successful deliveries and endpoint errors.
Illustration of incoming messages routed to applications and data systems

Forward messages and automate replies

Create forwarders to send matching email to another address. Set up automatic replies to acknowledge incoming requests.

Configure forwarding
Illustration of email and PDF content transformed into JSON fields

Extract invoice and order data

Turn email and PDF attachments into structured JSON. Extract invoice numbers, totals and order details using AI, schemas and OCR.

Explore AI data extraction
Example MailSlurp ruleset configured to block incoming email

Control sending and receiving

Create rulesets to allow or block addresses and domains. Apply rules to one inbox or your account, and test them before relying on them.

Configure inbox rulesets

Test the email your application really sends.

Create an inbox for your browser test, trigger signup or password recovery, then wait for the matching message. Read a verification code or follow a magic link to complete the flow.

Use MailSlurp with Playwright, Cypress, Selenium and CI. Bounded waits and message matching help parallel tests read the right email.

Explore end-to-end testing

Manage email together. Control who has access.

Use a shared dashboard to inspect messages and manage accounts. Organize development, staging and production environments, with enterprise roles and permissions for the people using them.

Enterprise options include SAML/OIDC sign-in, SCIM provisioning and audit logs. Choose the team controls your organization needs.

Explore enterprise features
Separate development, staging and production environments

Go beyond message capture.

Check email quality, warm up your senders, extract structured data and add phone numbers to your applications.

Device rendering

See the delivered email on supported clients and devices, including mobile and dark mode.

Email on desktop, phone and tablet in light and dark modes
Explore device rendering

Email Audit

Find broken links, missing images, accessibility issues and HTML/CSS problems.

Email illustration highlighting a missing image and broken links
Explore Email Audit

Inbox placement

Check whether your email reaches inbox, promotions or spam in real provider mailboxes.

Gmail, Yahoo, Outlook, Proton Mail and iCloud mailbox providers
Explore inbox placement

Email warmup

Connect a sender and gradually build sending activity with automated warmup schedules and reputation checks.

An email sender connected through SMTP with Google and Microsoft accounts
Explore email warmup

AI data extraction

Turn email, SMS and attachments into structured fields using your own schema. Connect extracted data to your application.

Email and PDF attachments transformed into structured JSON fields
Explore AI data extraction

Phone numbers

Create real phone numbers to send and receive SMS. Test verification codes and automate messages through APIs.

A phone, SMS message and code symbol for programmable phone numbers
Explore phone numbers

Questions about programmable email

Are these real email addresses?

Yes. MailSlurp inboxes receive real email. Create addresses for temporary tests or ongoing applications, use a custom domain, or connect a Gmail or Outlook account.

Does unlimited inboxes mean unlimited usage?

Unlimited inboxes describes address creation, not unlimited message volume or storage. Check the plan and usage allowances for the workloads you want to run. View plans

Do I need to write code?

You can create accounts and inspect messages in the dashboard. APIs, SDKs, SMTP, IMAP and webhooks let developers automate those workflows.

Can I use MailSlurp outside a test suite?

Yes. Receive email and attachments for applications, route messages with webhooks and forwarding, extract structured data, or give AI agents access to email.

Put your next inbox to work.

Create an email address, receive a message and connect it to your application.