email-best-practices by resend/email-best-practices
npx skills add https://github.com/resend/email-best-practices --skill email-best-practices构建可送达、合规且用户友好的电子邮件的指南。
[用户] → [电子邮件表单] → [验证] → [双重确认订阅]
↓
[记录同意]
↓
[抑制列表检查] ←──────────────[准备发送]
↓
[幂等发送 + 重试] ──────→ [电子邮件 API]
↓
[Webhook 事件]
↓
┌────────┬────────┬─────────────┐
↓ ↓ ↓ ↓
已送达 退回 投诉 已打开/已点击
↓ ↓
[更新抑制列表]
↓
[列表清理任务]
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 规划应用所需的电子邮件 | 事务性电子邮件目录 |
| 构建新闻通讯注册,验证电子邮件 | 电子邮件收集 |
| 发送新闻通讯、促销邮件 | 营销电子邮件 |
| 确保符合 CAN-SPAM/GDPR/CASL 法规 | 合规性 |
| 决定事务性与营销邮件 | 电子邮件类型 |
| 处理重试、幂等性、错误 | 发送可靠性 |
| 处理送达事件,设置 Webhook | Webhook 与事件 |
| 管理退回、投诉、抑制 | 列表管理 |
垃圾邮件问题? 首先检查送达率——认证问题是最常见的原因。Gmail/Yahoo 会拒绝未经认证的电子邮件。
生产环境就绪的发送? 增加可靠性:发送可靠性(重试 + 幂等性)→ Webhook 与事件(跟踪送达)→ 列表管理(处理退回)。
每周安装量
4.0K
仓库
GitHub Stars
125
首次出现
Jan 23, 2026
安全审计
安装于
opencode2.8K
codex2.8K
claude-code2.7K
gemini-cli2.7K
github-copilot2.6K
cursor2.6K
Guidance for building deliverable, compliant, user-friendly emails.
[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]
| 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 |
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).
Weekly Installs
4.0K
Repository
GitHub Stars
125
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode2.8K
codex2.8K
claude-code2.7K
gemini-cli2.7K
github-copilot2.6K
cursor2.6K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
AI代码审查工具 - 自动化安全漏洞检测与代码质量分析 | 支持多领域检查清单
1,200 周安装
AI智能体长期记忆系统 - 精英级架构,融合6种方法,永不丢失上下文
1,200 周安装
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装
Word文档处理器:DOCX创建、编辑、分析与修订痕迹处理全指南 | 自动化办公解决方案
1,200 周安装
React Router 框架模式指南:全栈开发、文件路由、数据加载与渲染策略
1,200 周安装
Nano Banana AI 图像生成工具:使用 Gemini 3 Pro 生成与编辑高分辨率图像
1,200 周安装