Builder10 min readBadge: Inbox Arrival

Email from your app: receipts, reminders and newsletters

Transactional vs marketing email, why you need an email provider, how SPF, DKIM and DMARC get you out of spam, and the rules for unsubscribe links.

Two kinds of email

Transactional emails are triggered by something the user did: sign-up confirmations, password resets, receipts, booking reminders. Marketing emails go to many people at once: newsletters and announcements. They have different rules and are often sent through different tools.

Use an email provider

Don't send app email from your personal inbox. Email services built for apps (for example Resend, Postmark, SendGrid or Amazon SES) send reliably, track bounces and give you an API key that stays on your server. Many auth services, such as Supabase Auth, can send their sign-in emails through the provider you choose.

Get out of the spam folder

  • Send from your own domain (hello@yourbusiness.com), not a free address.
  • Add the DNS records your provider gives you: SPF and DKIM prove the email really comes from you, and DMARC tells inboxes what to do with fakes.
  • Keep messages clear and expected: people should know why they're getting them.
  • Test by sending to your own Gmail and Outlook addresses before real users.

Respect the inbox

Only send marketing email to people who agreed to hear from you, include a working unsubscribe link and your contact details, and honour unsubscribes promptly; in the US the FTC's CAN-SPAM rules set the basics, and other places have their own laws. Never put passwords or sensitive personal details in an email, and keep the provider's key in an environment variable.

Key terms

DNS
The internet's address book that turns domain names into server addresses.
Domain
Your site's name, like digitalbuilders757.com, rented from a registrar.
API key
A secret code that identifies your app to a service and is often tied to billing.
Environment variable
A setting or secret the app reads at run time, kept outside the code.
Transactional email
An email triggered by something a user did, like a receipt, reminder or password reset.
SPF, DKIM and DMARC
DNS records that prove email really comes from your domain and tell inboxes what to do with fakes.
Personal data
Information about an identifiable person, like names, emails or grades; follows privacy rules.
See the full glossary

Try it

Send your first app email

  1. Sign up for an email provider's free tier and verify a domain you own (or use its test sending option).
  2. Add the SPF and DKIM records it shows you in your domain's DNS settings.
  3. Ask your AI helper for a server route that sends a welcome email, with the key in an environment variable.
  4. Send a test to your own inboxes and check it didn't land in spam.

Ask an AI tutor about this guide

Copy a prompt into ChatGPT, Claude or Gemini to go deeper. Check what it tells you against the guide.

Study with an AI tutor: copy this whole guide with tutoring instructions, then paste it into your AI assistant.
  • Explain it like I'm 12
  • Quiz me (5 questions, one at a time)
  • Show me a real example for my situation
  • What do beginners get wrong?

Knowledge check

Five questions. Get 4 right to earn the Inbox Arrival badge. You can retake it as often as you like.

Question 1 of 5

Which is a transactional email?

Finished the How software works guides? Take the How software works track test for ten mixed questions.

My notes

Write what clicked, what confused you, and what you want to try. Saved in this browser only.

Learn it live

Digital Builders University runs small live workshops where you build something real with an instructor beside you, starting with Vibe Coding 101.

See workshops

Last reviewed November 25, 2026. AI tools change fast; check each tool’s own site for current features, plans and prices.