I’m already using Mailinator to automate email tests but it throws random 500 internal server errors which makes the tests flaky.
Are there any other such services that are stable and provide a long living email address to execute tests on? Aliases would be good to have.
If there are paid options then wouldn’t mind checking them out.
Have you tried Mailosaur? I tried that. It is specifically for testing purposes.
Earlier In some projects, I add a number after the user name, for e.g. ujjwal+123@gmail.com and
These numbers were randomly generated with the help of a script, but somehow google has implemented new security features hence it is feasible in automation.
I have used Mailinator, 10minutemail, etc. they are good as long as we need just one-time email like for OTP purposes.
with mailinator we actually have a fixed email address on which we add +1 as an alias
Thanks, i’ll check out Mailosaur too
You can check MailSlurp.
I used maildrop.cc for free. They use GraphQL as a foundation API. You can check here https://docs.maildrop.cc/
For you title “which email client provides API services for test purpose”
I don’t know if you use anything like Cypress or Playwright a like but you can just simulate a SMTP request and check the mail account.
Even Postman has SMTP Support
My work use MailTrap which is a subscription service which offers both a RESTful Email API / SMTP for email sending and an email test platform to capture traffic from staging and dev environments.
This is a summary of the free tier (different features might be more / less relevant to your specific project) copied from Pricing | Mailtrap
Email Sending (Free Tier) | |
---|---|
Emails/day | 200 |
Emails/month | 1000 |
Max email size | 10MB |
ISP feedback (spam details) | ![]() |
Open rate tracking | ![]() |
API integration | ![]() |
Templates | ![]() |
2FA | ![]() |
MailTrap customer support | ![]() |
Email Testing (Free Tier) | |
---|---|
Emails/month | 100 |
Max emails per inbox | 50 |
There are many alternatives out there, such as SendGrid, Mailchip Transactional Email, Mailgun and Amazon SES