From claude-code-starter
Integrates email sending into projects with Resend/SendGrid. Covers domain verification (SPF/DKIM/DMARC), HTML templates, rate limiting, testing, and troubleshooting for verification, notifications, or marketing emails.
npx claudepluginhub lighthouse-strategy/claude-code-starterThis skill uses the workspace's default tool permissions.
帮用户为项目集成邮件发送能力。
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
帮用户为项目集成邮件发送能力。
问题 1:邮件用途
你需要发什么邮件?
- 注册验证邮件
- 密码重置邮件
- 通知邮件(订单确认、状态更新)
- 营销邮件(推广、新闻通讯) 可以多选。
推荐方案:
- Resend(最简单,API 友好,免费额度 3000 封/月)
- SendGrid(功能全面,免费 100 封/天)
- AWS SES(价格最低,适合大批量发送,但配置复杂)
- Nodemailer + Gmail(仅限开发测试,不推荐生产) 不确定就用 Resend。
在邮件服务商后台获取 DNS 记录,然后到域名 DNS 管理面板添加以下三项:
v=spf1 include:_spf.resend.com ~allv=DMARC1; p=none; rua=mailto:你的邮箱三项全部配置后,等待 DNS 生效(通常 5-30 分钟),然后在服务商后台点击"验证域名"。
发送测试邮件到至少两个不同邮箱提供商(如 Gmail + Outlook),逐项检查:
邮件功能已配置。测试邮件发送成功,收件箱送达正常。