SP

Sumitkumar Pandit

ResourcesDeveloper Email Checklist

Checklist

Developer Email Checklist

Everything a dev needs to remember when integrating email - templates, webhooks, retries.

Server-side only API keys

Never expose SMTP credentials or API keys in client code. Use env vars on the backend only.

01

Use templates, not string concatenation

Server-rendered templates with variables. Easier to maintain, harder to break.

02

Implement retry logic

Wrap sends in exponential backoff. Email providers go down briefly - your app should not.

03

Queue heavy sends

Welcome flows, password resets - send via a job queue (BullMQ, Inngest) so HTTP requests stay fast.

04

Subscribe to webhooks

Track delivered, opened, clicked, bounced, complained events. Feed back into your DB.

05

Honor unsubscribes immediately

Even on the free tier - remove suppressed contacts from your active list within minutes.

06

Test in staging with a real provider

Use a separate sub-account or sandbox - never send tests to real customers.

07

Plaintext fallback

Always include a text/plain version. Improves deliverability and accessibility.

08

Inline CSS

Gmail strips style blocks. Use a tool like Juice or your provider's template inliner.

09

Set Reply-To headers

noreply@ kills reputation. Use a real, monitored address that humans can reply to.

10