What is MailSlurp?

MailSlurp is a test email account service. You can create unlimited private email addresses on demand and then send and receive real emails with them.

What is MailSlurp used for?

MailSlurp is used by developers and software companies to test any email related process.

Think of every part of your app that relies on emails in some way:

  • User sign up
  • Password reset
  • Email notifications
  • Sharing links
  • Transactional emails and newsletters
  • Sending of attachments

You can test all these process and more with MailSlurp.

How do I sign up?

Sign up for a free trial with the MailSlurp Dashboard. Trials expire after 10 days. After that you will need a paid account. See pricing for more information.

How do I use my API key?

You can find you API key once you sign up. It is displayed in the dashboard.

Send your API key as an x-api-key header with every HTTP request or configure the API client according to its documentation.

How do call the MailSlurp API?

MailSlurp has an HTTP API and several SDK Libraries that integrate with your application's test code. You can call the any programming language or use one of the prebuilt libraries in your language of choice.

You can test these functions and everything else related with MailSlurp.

How is MailSlurp used in a test?

Most applications have tests. To test email functionality you include the MailSlurp SDK or call the REST API. A typical user sign-up test might do the following:

  • Create new email address with MailSlurp
  • Sign up as a new user with that email address
  • Use MailSlurp to receive and validate a welcome email that you expect your app to send

What languages does MailSlurp support?

Any programming langauge capable of making HTTP requests. You can find the API docs here. MailSlurp also provides official NodeJS packages plus a range of SDKs in other languages.

Is there a graphical interface or app?

MailSlurp is an API that should be called from your test code. A web interface is available for enterprise customers upon request.

What email domain are emails sent with?

All MailSlurp email addresses are under the mailslurp.com domain. Each time you create a new inbox a random UIID is generated and associated with the inbox. When emails are sent to <that-uuid>@mailslurp.com they are stored under the inbox associated with it.

Enterprise accounts can gain access to custom domains.

How do I receive emails with MailSlurp?

MailSlurp lets you create real, private test email accounts. First create an inbox via the API then send an email to it. Lastly use the API to list the emails in that inbox then fetch the one you want to read. For more information see the documentation.

Can I use other domains?

MailSlurp Enterprise plans offer custom domain integrations upon contact. These are typically either:

  • a set of MailSlurp subdomains that are private and associated with a given user
  • a unique random domain specific for that particular user
  • a user-owned domain that is integrated with MailSlurp directly upon request

Is MailSlurp free?

MailSlurp offers a free 10 day trial. After that an account is required. There are several plans with affordable monthly pricing.

What advantages do paid plans have?

Paid Pro plans enable unlimited email addresses plus unlimited sending and receiving. Enterprise plans enable many additional features such as attachment support, custom domains, a web interface and more. Some enterprise features require additional setup via the support team.

How do I download attachments?

Attachments are available via the attachments endpoints. First fetch an email then use the attachment IDs listed in the response.

Does MailSlurp read my messages?

No human ever accesses MailSlurp emails. Server code does however but only to extract data into API responses. No data is ever shared with any party ever.

What alternatives are there to MailSlurp

For transparency we list other services and compare them to MailSlurp on our comparison page.

Where can I get help?

Try the support page first or email us directly.