paulobrien.dev
All posts

Mail tester: a deep dive

Paul O'Brien · 3 min read

Yesterday I looked at the DNS checker, which checks a domain. Today it's the Mail tester, which checks an actual email. You send one message from your usual inbox to a test address, and a few seconds later you get a score out of 10 and a list of what to fix, most important first.

Contents

Why I built it

A domain can look perfect on paper and the email can still land in junk. The newsletter app adds a header that trips a spam rule, the invoice has one huge picture and no text, or a link goes through a shortener that's on a blocklist. The only way to see all of that is to look at a real email as it arrives.

I wanted a tester that does exactly that, explains the result in plain English and doesn't make you sign up just to try it.

How it works

The Mail tester runs on Cloudflare Workers, with D1 holding the results and Amazon SES handling the test mail.

  • A one off address. Press the button and you get an address made just for you. It works for one email.
  • Send it the normal way. Use the inbox or app you always use, so the test sees exactly what your readers' inboxes see.
  • Read as it arrives. The message is checked the moment it lands, and the report appears on the page.
  • Deleted after 7 days. The report and the email are kept for a week, then deleted.

What it checks

AreaWhat it looks at
Did it prove it's youSPF, DKIM, DMARC and DKIM alignment with your From address
The sending serverReverse DNS and the main blocklists
What spam filters thinkThe rules it trips, the score each one costs and trigger phrases
Gmail, Yahoo and Microsoft's rulesOne click unsubscribe and a plain text version
Links and picturesBroken links, shortened links, link text and the picture to text balance
Everything elseSize, subject line, attachments, a virus scan and accessibility

A real report

Here's a real one. I sent a short email from Mac Mail on my Fastmail account to a test address, and a few seconds later it had scored 9.8 out of 10. The report shows it arrived from Fastmail's servers and passes everything Gmail, Yahoo and Microsoft now ask of senders: SPF and DKIM line up with my domain, so DMARC passes, and the sending server has reverse DNS. The only thing that cost points was the lack of a plain text version alongside the formatted one, which took off 0.2. The one click unsubscribe check is marked as not needed, because it could tell this wasn't a mailing list.

A Mail tester report for an email sent from me@paulobrien.com through Fastmail, scoring 9.8 out of 10, with one thing to improve and 14 checks passed
A real Mail tester report

Who it's for

Anyone whose emails go to junk. Send the exact email that's going missing and see why.

Newsletter senders. Check a new template or a new sending service before it goes to your whole list.

Small businesses. Invoices and quotes from accounting software are often the ones that get lost. Send one to the tester and find out.

Good to know

  • Anyone can run 3 tests a day with no sign up. Subscribers to paulobrien.dev get 20 tests a month.
  • Send the kind of email you're worried about. The test looks at how it was sent as well as what's in it.
  • If the score is fine but mail still goes missing, run the DNS checker on your domain too.

Try it

The Mail tester is on the tools page. Tomorrow it's the DMARC report reader, for when you want to see who else is sending email as you.

As always, sharing the love.

Stay in the loop

Subscribe for updates.

Leave your email and I'll tell you when there's a new version of one of my apps, or a new project to try. You can also use every tool on this site, free.

That didn't work. Please check your email address and try again.

One email to confirm. Unsubscribe with one click. Your address is only used for these updates.