Generate test email accounts

If you need unique random email addresses for any reason you probably want to use test email accounts. MailSlurp is a free service for creating real eamil accounts in code, tests, or using a dashboard UI.

Create test email addresses

You can generate test email accounts on demand with API services like MailSlurp. MailSlurp let’s you create real, random email addresses from code then send and receive real emails. It supports many programming languages.

MailSlurp is like a fake email account for testing but it let’s you do more. You can create as many email addresses as you like and then test send and receive email from them from code via REST API or SDK.

How to test emails

Email testing is a common requirement for many modern apps. To test your code with fake email accounts:

  • First create a test suite
  • Use MailSlurp API to create a new email address
  • Trigger an action in your application with unique test email
  • Use MailSlurp API to receive inbound emails
  • Verify the results


Visual dashboard

MailSlurp also has a powerful online dashboard that enables team access.

test email accounts

Try it out (free)

You can try MailSlurp for free. Check it out