Mailinator Alternatives for Receiving Test Email

Maildrop and Mailsac are free public inboxes with an API. Mailpit runs free on your own machine. Mailtrap, testmail.app and Mailosaur keep mail private.

One developer can replace Mailinator for nothing: Mailpit for daily work, since no email leaves your computer, and testmail.app for the few tests that need a real address on the internet. A quick look to see that a sign-up email arrives, with made-up data, only needs Maildrop, with nothing to register.

A throwaway address for signing up to something is a different job, and we leave it out here.

What Mailinator charges for

The public side is free: make up any address at mailinator.com and read the mail on the website, with unlimited inboxes and no sign-up. Mailinator’s own FAQ lists the limits. Every email is readable by anyone, mail lasts a few hours, attachments are not allowed, and the system is receive-only. It tells you not to expect privacy there, and promises it only on subscribers’ private domains, so use the public side only for data you would not mind a stranger reading. Its documentation says the public side is meant for occasional, personal use.

Private inboxes and the API need a subscription. Mailinator’s pricing page puts Business at $79 a month billed yearly or $99 billed monthly, for 100,000 emails a month, one private domain and five team seats. Business Plus is $159 or $199, and Enterprise starts at $699.

The way round that is Verified Pro, a free tier for single users that includes a private domain, API access and webhooks, with 10MB of storage and about 60 emails a day. The cost, in Mailinator’s words, is valid contact details and good behaviour. It is not meant for company teams, and Mailinator says a firm with three or more such accounts may be told to pay.

Who can read the mail, and for how long

Tool Kind Cost Who can read the mail API How long mail is kept
Maildrop Public inbox Free Anyone who types the inbox name GraphQL, no key needed 10 messages per inbox; cleared after 24 hours with no new mail
Mailsac Public inbox; private on paid plans Free; paid from $18 a month Anyone, for @mailsac.com addresses REST, with the key from a free account 4 days, 6 messages per public inbox
Guerrilla Mail Public inbox Free Anyone who knows the inbox ID Yes 1 hour
Mailtrap Email Sandbox Hosted fake SMTP server Free for 50 emails a month; paid from $17 a month Your account only Yes The newest 10 emails on the free plan
testmail.app Hosted private inboxes Free for 100 emails a month; paid from $12 a month Holders of your API key JSON and GraphQL 1 day on the free plan
Mailosaur Hosted private inboxes From $20 a month billed yearly; 14-day trial Your account only Yes Not given on the pricing page
Ethereal Hosted fake SMTP server Free You, and anyone holding a message’s preview link Accounts made from code through Nodemailer; IMAP and POP3 A few hours
Mailpit Runs on your machine, open source Free Whoever can reach your machine REST The newest 500 messages by default
Inbucket Runs on your machine, open source Free Whoever can reach your machine REST 24 hours by default; 72 in the Docker image
smtp4dev Runs on your machine, open source Free Whoever can reach your machine Yes The newest 100 messages per mailbox by default

Free inboxes a script can read

Maildrop is the closest thing to public Mailinator. Make up any address at maildrop.cc and read it on the site, with no sign-up and no password. Its API is a single GraphQL address that, according to its developer documentation, needs no key at present and allows 50 queries in any ten seconds. The limits are strict. Messages must be plain text or HTML under 500k, attachments are thrown away, an inbox holds ten messages, and an inbox that receives nothing for 24 hours is cleared.

One Maildrop detail matters for automated tests. The first time a mail server it has not seen sends to a maildrop.cc address, Maildrop tells that server to try again later, a spam defence called greylisting. Its documentation says most servers retry within 15 minutes. A test that waits 30 seconds for the first email can fail for that reason alone.

Mailsac is the better of the two for automated tests, because the mail stays four days and its API is made for tests that wait for a message. Maildrop works if you would rather not hold an API key. Any address at mailsac.com receives mail with no sign-up, and anyone can read it. A free account adds an API key, one private address and 1,500 “operations” a month. An operation is one email received, one API call or one forward, and Mailsac reckons a typical test uses about three. Public inboxes hold six messages, and attachments on public addresses can only be fetched through the API. Paid plans add a custom domain. Its own FAQ warns that some senders block disposable domains and that non-paying users can be throttled.

Guerrilla Mail gives you a random address, or one you choose, and keeps each email for an hour. Its site has an API, and its FAQ tells webmasters it can be used to check that a site sends its emails correctly. Anyone who knows the inbox ID can open the inbox.

Other names turn up on lists of alternatives. YOPmail keeps mail for eight days and publishes alternate domains and a new one each day, but it is built for dodging spam. It belongs in that throwaway guide with 10 Minute Mail and Temp Mail, and Fake Mail Generator and MintEmail are the same kind of site. 33Mail forwards aliases to your real inbox, which is a different job from catching test mail. Getairmail’s address no longer resolves, and Dispostable did not respond.

Private sandboxes for staging and CI

Mailtrap Email Sandbox is a fake SMTP server. You paste its SMTP settings into your app, and every message the app sends lands in a sandbox that only your account can see. Mailtrap says the sandbox is not designed to deliver to real addresses, and forwarding a caught email onwards is a paid feature. The free plan is small: 50 test emails a month, one sandbox that holds ten emails, one user. Paid plans run from Basic at $17 a month (500 emails) through Team at $42 and Business at $123 to Enterprise at $498, each about a fifth cheaper billed yearly.

testmail.app gives you a namespace, and mail goes to [email protected]. Change the tag and you have a new inbox, so one account covers any number of test users. Emails are read back through a JSON or GraphQL API. Try its free plan, at 100 emails a month kept one day, before Mailtrap’s. Essential is $12 a month, or $9 billed yearly, for 10,000 emails kept up to three days. Pro is $39, or $29 billed yearly, for 50,000 emails kept up to 30 days.

Mailosaur has no free plan, only a 14-day trial. Personal starts at $20 a month billed yearly for one user, one inbox with unlimited addresses, and from 15,000 inbound emails a month. Core starts at $50, also billed yearly, for five seats and several inboxes, and SMS testing is an add-on from $37.50 a month.

Ethereal is the free hosted alternative to Mailtrap, aimed mostly at users of the Nodemailer library, though it accepts mail from any SMTP client. You create an account with one click or from code, send through smtp.ethereal.email, and open a preview link for each caught message. Nothing is delivered. Messages are deleted after a few hours and each address has a 100MB quota. Preview links need no login, so anyone you send one to can read that message.

Fake mail servers on your own machine

Mailpit is an open-source SMTP server with a web inbox and a REST API, shipped as a single program or a Docker image. Your app sends to it instead of a real mail server, and the mail stays on your machine. It costs nothing and needs no account. It also checks HTML against common email clients, checks links and scores messages with SpamAssassin. By default it keeps the newest 500 messages, in a temporary database that is deleted when Mailpit exits.

Mailpit’s own README says it was inspired by MailHog, which it describes as no longer maintained. MailHog’s last release on GitHub dates from 2020. Use Mailpit for anything new.

Inbucket describes itself as a disposable webmail server similar to Mailinator, so run it if you want a Mailinator of your own behind the firewall. It accepts mail for any address and shows it through a web page, a REST API or POP3, with no database to set up. Its built-in defaults keep messages in memory for 24 hours, up to 500 to a mailbox, and the Docker image is set to 72 hours and 300.

smtp4dev does the same job on Windows, Linux and Mac, with IMAP and POP3 access, a documented API and 100 messages kept per mailbox by default. Its README tells Docker users to read its security notes first, so the server is not left open to the internet.

Cost per thousand test emails

The cheapest paid plans, taking monthly billing where it is offered: testmail.app is $12 for 10,000 emails, which is $1.20 per thousand. Mailsac’s $18 plan covers about 7,500 test emails by its own estimate, or $2.40 per thousand. Mailosaur’s $20 plan, billed yearly, allows 15,000, about $1.33 per thousand. Mailtrap’s $17 plan allows 500, which is $34 per thousand.

Mailinator’s $99 buys 100,000 emails and five seats, under $1 per thousand, but only if you use them. A team that sends a great deal is where it earns its price.

Written by

Oscar Frank

I’m Oscar Frank, a software engineer, gadget reviewer and the creator behind the Oscarmini YouTube channel. I’ve spent over a decade exploring smartphones, cameras and everyday tech, and I build tools like MoreMacSpace and GearMatchup.