Mailstack allows you to easily create unlimited email addresses, mailboxes and virtual MFA devices
for testing email workflows.
Once registered, you get a default mailbox and API key to access it.
You can send test emails using
a format like {tag}.{mailboxid}@mailstack.expandtesting.com
, where tag
is any identifier (e.g., username, team)
and mailboxid is your unique mailbox reference.
The Mailstack API enables you to
retrieve
emails via REST, offering real-time
options to wait for new emails or retrieve them immediately. All interactions are managed via a
simple, secure API.
SDET at Recital.ai
I was looking for a stable, simple and automatic solution to test mails and check
the mailbox in real time: the Mailstack solution does it, and does it very well. I'm very
pleased with this simple, effective solution, which meets my needs for API testing with Postman.
It works perfectly with the Collection Runner and Postman Monitor to test mail
reception. The
other solutions don't read the mailbox in real time, so I had to add a more or less random
timeout depending on the slowness of the network, which sometimes created flaky tests.
Thanks to
Mailstack's “realtime=true” parameter, this solved my problem dynamically and automatically.
It's up to you to try it out and adopt it, perhaps like me?