
Email APIs for testing and development.
Create real, private email addresses on demand. Send and receive emails and attachments in application code and integration tests. Intuitive REST APIs and SDK Libraries. Free for personal use.
Create real, private email addresses on demand. Send and receive emails and attachments in application code and integration tests. Intuitive REST APIs and SDK Libraries. Free for personal use.
Beginner's guide to MailSlurp. Learn the email APIs step by step.
Sample code for common use cases. Examples using popular frameworks.
Developer documentation for REST API and SDK Libraries.
MailSlurp is an email service that lets you send, receive, and test email processes. You can create email addresses in code or using our webapp dashboard. MailSlurp lets you test and verify email content and attachments moving through your system during automated testing and development.
Create real email addresses on demand. Send and receive email in Javascript, Ruby, PHP, Python, Java, and more. Built for developers and QA testers to build email functionality and test email related processes.
// 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")
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. It's free to get started.
REST API and official SDKs in several popular programming languages. But you don't need to know code to use MailSlurp. Use the online dashboard to read and compose emails and attachments visually.
MailSlurp offers powerful email functionality like on demand private inboxes, developer SDKs for sending and receiving email, HTML previews and team access.
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 moreFetch 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 moreEnd-to-end test user sign-up and account verification using real email addresses. Test newsletters, notifications, HTML templates, attachments, and more.
Read morePowerful online dashboard for reading and composing emails, viewing attachments, and validating HTML. Team access available.
Read moreSubmit HTML forms to MailSlurp and receive submission directly to your email address. Attachments included! No server or signup required.
Read moreCreate email proxies that hide your email from spammers. Create email aliases that forward to your hidden address.
Read moreSee examples of how to send and receive emails with common frameworks.
Use real email addresses in Cypress tests.
How to send and receive emails in Go (test email addresses).
Use the MailSlurp email library in Java projects to send and receive emails in tests and code.
How to send and receive emails in PHPUnit tests.
Send and receive email in Pytest Python tests.
Send and receive email in Selenium tests.
Send and receive email in .NET Nunit tests.
Test user sign-up in Ruby using Cucumber BDD.
Send and receive emails in Javascript tests.
Use emails in browser tests using Webdriver.
Join thousands of businesses and startups powered by MailSlurp. MailSlurp is free for personal use and has affordable pricing for companies of every size.