email-best-practices
2.1K
总安装量
2.1K
周安装量
#166
全站排名
安装命令
npx skills add https://github.com/resend/email-best-practices --skill email-best-practices
Agent 安装分布
claude-code
1.5K
opencode
1.1K
codex
1.0K
gemini-cli
996
github-copilot
925
Skill 文档
Email Best Practices
Guidance for building deliverable, compliant, user-friendly emails.
Architecture Overview
[User] â [Email Form] â [Validation] â [Double Opt-In]
â
[Consent Recorded]
â
[Suppression Check] âââââââââââââââ[Ready to Send]
â
[Idempotent Send + Retry] âââââââ [Email API]
â
[Webhook Events]
â
ââââââââââ¬âââââââââ¬ââââââââââââââ
â â â â
Delivered Bounced Complained Opened/Clicked
â â
[Suppression List Updated]
â
[List Hygiene Jobs]
Quick Reference
| Need to… | See |
|---|---|
| Set up SPF/DKIM/DMARC, fix spam issues | Deliverability |
| Build password reset, OTP, confirmations | Transactional Emails |
| Plan which emails your app needs | Transactional Email Catalog |
| Build newsletter signup, validate emails | Email Capture |
| Send newsletters, promotions | Marketing Emails |
| Ensure CAN-SPAM/GDPR/CASL compliance | Compliance |
| Decide transactional vs marketing | Email Types |
| Handle retries, idempotency, errors | Sending Reliability |
| Process delivery events, set up webhooks | Webhooks & Events |
| Manage bounces, complaints, suppression | List Management |
Start Here
New app? Start with the Catalog to plan which emails your app needs (password reset, verification, etc.), then set up Deliverability (DNS authentication) before sending your first email.
Spam issues? Check Deliverability firstâauthentication problems are the most common cause. Gmail/Yahoo reject unauthenticated emails.
Marketing emails? Follow this path: Email Capture (collect consent) â Compliance (legal requirements) â Marketing Emails (best practices).
Production-ready sending? Add reliability: Sending Reliability (retry + idempotency) â Webhooks & Events (track delivery) â List Management (handle bounces).