MailSlurp email accounts are called inboxes. You can use the API, dashboard, or SDK client libraries.

Basic example: use random address

You can create email accounts with randomized addresses using MailSlurp domains.

Use custom domain

Register a domain to use custom email addresses:

Use short addresses

To generate email addresses under 31 characters use the option:

Virtual inboxes

Virtual mailboxes will never send to external recipients and can be used as a mail trap:

Temporary mailboxes

For throwaway temp email accounts use the options:

More options

See the creating inboxes guide for more examples.