Skip to content

Email

Your product can send email on its own, like sign-in codes and receipts, through a sending service. Email routing is a separate job: it forwards an address at your own domain to your inbox.

Does my product need to send emails?

It does if someone should get an email without you writing it, like after they sign up, pay or send a form.

If you only want people to reach you at an address on your own domain
Cloudflare Email Routing forwards that address to your inbox for free, and its tool page has the steps. Namecheap’s free email forwarding does the same job for domains bought there.
If you use Clerk or Supabase for sign-in
Clerk can send sign-in emails. Supabase’s built-in sender only reaches addresses on your Supabase team, so other sign-ups need custom SMTP.
If nobody needs an email from your product yet
Skip it. A message on the screen is enough for a first version.

Words: SMTP

What’s the fastest way to send email from my product?

Open the tool page for one of the options and follow its steps. Your AI tool writes the code that sends, and you make the account, add the DNS records and keep the key.

In a guide

Prompt: Email
My product may need to send emails, like sign-in codes, receipts or a welcome note.
Read this product’s code, and PLAN.md if it’s here. Tell me in plain words which emails it should send, and what sends emails today, if anything.
Check whether my sign-in service, like Supabase or Clerk, already sends its own emails.
Then lay out Resend, Amazon SES and SendGrid for my case, with what each costs on its current pricing page. Don’t choose for me.
Once I choose, walk me through that service’s setup one step at a time. I’ll make the account, add the DNS records and create the key. I’ll type the key into .env myself.
Ask me before you install anything, sign in to anything or spend money. Never ask me to paste a password or secret key into this chat.

This comes from https://buildladder.com/concepts/email#fastest-way. If you can open web pages, read https://buildladder.com/concepts/email.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

Words: AI coding tool, DNS record

Resend, Amazon SES or SendGrid: which email service fits my product?

It comes down to how you start, how you pay, and what you set up before real people get emails. All three send from your own domain.

QuestionResendAmazon SESSendGrid
How you startSign up, then send to yourself from onboarding@resend.dev right away.Test mode first: up to 200 emails a day, only to addresses you’ve verified.Start a trial, then follow SendGrid’s required account-security setup.
Verifying your domainAdd the records from the Records tab. Often about 15 minutes, up to 72 hours.Add the CNAME records SES shows. Up to 72 hours.Add the records on the Install DNS Records page, then click Verify. Up to 48 hours.
What your code sends withAn API key and Resend’s library.SMTP credentials, or AWS keys with Amazon’s library.An API key and SendGrid’s library.
Before real people get emailsVerify your domain.Verify your domain and ask for production access. Amazon gives an initial reply within 96 hours, and approval can take longer.Verify your domain, and pick a paid plan before the trial ends.

Swipe the table sideways to see every column.

Words: API key

Should I add email now or later?

Add it when the first must-have feature needs an email, like a sign-in code. Until then, leave it out.

If your sign-in sends codes or links
Add a sending service before real people sign up.
If you chose Amazon SES
Start early. Verifying your domain and getting production access can each take days.
If you don’t own a domain yet
Buy one first. Real people only get your emails once you verify a domain you own.

Words: Domain

Is sending email from my product free?

On Resend, yes. Its free plan has no end date. SendGrid’s trial ends after 60 days, and Amazon SES charges by use.

If your SendGrid trial is ending
Pick a plan in Settings, then Account Details, then Your Products, before day 60.
QuestionResendAmazon SESSendGrid
Free amount3,000 emails a month, up to 100 a day, with no end date.SES bills by use. Eligible new AWS customers can receive up to $200 in credits.A 60-day trial with 100 emails a day. Then sending stops unless you pay.
Paid pricePro is $20 a month for 50,000 emails. Extra emails cost $0.90 per 1,000, only if you turn that on.New accounts start on Essentials at $0.16 per 1,000 emails. With no plan, it’s $0.10 per 1,000.Essentials starts at $19.95 a month. Pro starts at $89.95 a month.

Swipe the table sideways to see every column.

What changes about email when my product grows?

Free amounts run out, and more emails mean more chances to land in spam. Inboxes watch how often your emails bounce or get reported, so keep both low as you send more.

If you start emailing many people at once
Increase sending gradually and email only people who asked for it. Watch your sending service’s spam and complaint reports.
If you add marketing emails, like a newsletter
Send them from a separate subdomain. That keeps them apart, but it does not guarantee that your other emails avoid spam.
If some emails bounce because the address is wrong
Check addresses when people sign up, and stop emailing ones that bounce. Resend may pause sending above 4 bounces in 100.

Words: Subdomain

How does email from my product work underneath?

Your server hands each email to the sending service, which delivers it. The inbox then checks DNS records on your domain to decide whether the email is really from you.

If an email comes from a service your SPF record doesn’t list
It fails the SPF check. Your SPF record lists which services may send for your domain.
If an email’s signature doesn’t match
It fails the DKIM check. The sending service signs each email, and the inbox finds the key in your DNS records.
If those checks fail
Your DMARC record says what to do: deliver the email anyway, send it to spam, or turn it away.
If you skip verifying your domain
None of these records exist, so anyone could send email that claims to be from you, and inboxes don’t trust it.
If your code uses an API key or SMTP password
Treat it like a password. Keep it in .env and your host’s settings, never in code a browser or phone downloads.

Words: SPF, DKIM, DMARC

Questions people ask

Updated Sources: AWS Free Tier FAQs, Resend pricing, Resend quotas and limits, Resend: add and verify a domain, Amazon SES pricing, Amazon SES: create and verify identities, Amazon SES: request production access, Amazon SES: SMTP credentials, SendGrid Email API pricing, SendGrid: the 60-day free trial, SendGrid: domain authentication, SendGrid: API keys, Cloudflare: route emails, Cloudflare Email Service pricing, Namecheap: free email forwarding, Google email sender guidelines, Supabase: send emails with custom SMTP, Clerk: email delivery and templates, npm downloads last month: resend, npm downloads last month: @sendgrid/mail, npm downloads last month: @aws-sdk/client-sesv2, npm downloads last month: @aws-sdk/client-ses.