Endtest Mailbox
Endtest Mailbox is a disposable inbox you can use inside your automated tests. Send any email to a username@endtest-mail.io address (the username can be anything you choose) and read it back from a URL.
To inspect a mailbox, open:
https://app.endtest.io/mailbox?email=jim32328@endtest-mail.io
For programmatic access from a test, append &format=json:
https://app.endtest.io/mailbox?email=jim32328@endtest-mail.io&format=json
Emails are deleted after 2 hours. Endtest Mailbox only accepts mail sent to @endtest-mail.io addresses.
For full instructions and examples in your tests, see How to Test Emails.