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 a permanent address for your application or create disposable inboxes for individual tests. Choose your addresses, connect existing accounts and manage them from code or the dashboard.

Explore inboxes
MailSlurp inbox creation with random or custom addresses, HTTP or SMTP, and expiry options
Choose the address, inbox type and lifetime in the dashboard or through the API.
Separate email addresses for independent tests and workflows

Unlimited inboxes, on demand

Give each test or workflow its own inbox. Generate addresses automatically, keep them permanently or set an expiry.

Create inboxes
A custom-domain address with signup and password-reset suffixes

Custom domains, local parts and aliases

Choose the part before the @ on your own domain. Use aliases and +suffix addresses to separate messages by customer, test or workflow.

Use your own addresses
Gmail and Outlook email accounts connected to MailSlurp

Connect Gmail and Outlook

Bring existing accounts into MailSlurp and access their messages through a shared API and dashboard.

Connect an account

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

Work with the whole message. Attachments included.

Read the body, inspect headers and download the files that arrive with an email. Use the dashboard to investigate a message, then process the same content in your application.

Explore email attachments
MailSlurp attachment viewer showing example documents and image files
Example attachments received in MailSlurp, ready to inspect or download.

Read HTML, text and headers

Inspect the content, sender, recipients and raw message when your application needs more than a subject line.

Download and process files

Retrieve attachments from incoming mail and pass documents or images to your own storage and processing tools.

Send messages and replies

Send email with HTML and attachments through API or SMTP, and build workflows that respond to incoming mail.

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
MailSlurp enterprise environment management with example development, staging and production accounts
Example environment accounts in the enterprise dashboard.

Go beyond message capture.

Add focused email-quality checks when you need to review the message your customers will receive.

Device rendering

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

Explore device rendering

Email Audit

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

Explore Email Audit

Inbox placement

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

Explore inbox placement

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.