DOCS LLMs

How to get a 10/10 deliverability score for your emails

RailsFast can achieve a 10/10 email deliverability out of the box, as tested by mail-tester.com

RailsFast Email Deliverability Guide

To achieve that, when configuring AWS SES for sending email, make sure to strictly follow these steps:

  • Navigate to your Amazon SES dashboard
  • Add your project domain name as a SES identity
    • To do that, on the sidebar, navigate to Configuration > Identities and click [ Create Identity ]
    • In the new page, select "Domain" as the new identity type
    • Enter your domain
    • Activate the "Use a custom MAIL FROM domain" checkbox
      • In the MAIL FROM field, input something like mail.<yourdomain.com>
    • Scroll down and select "Easy DKIM"
      • Select RSA_2048_BIT
      • Leave "DKIM Signatures" active
    • Click on the [ Crete identity ] button
  • On the new identiy page, you'll see three main sections: DKIM, MAIL FROM, and DMARC. For each section, there's a "Publish DNS records" unfoldable item. If you click it, you'll see the DNS records you need to add to your domain's DNS to clear each section. It's a somewhat tedious job, but make sure you add all records right.
  • Once you're done adding all records, scroll up in the indentity page in SES and click the refresh button. If everything went right, you should see your "Identity status: Verified", and the DKIM and MAIL FROM sections marked as successful. If that did not happen, give your DNS time to propagate (anywhere from some minutes to a few hours) and try again.
  • RailsFast is configured with best email practices so that when you send a transactional email from Rails you should get a perfect 10/10 score (or pretty close to it) in deliverability: you can test it at mail-tester.com