AI Agent 邮箱收件箱
技能 已验证 活跃适用于构建任何根据电子邮件内容触发操作的系统——AI 代理收件箱、自动支持处理程序、邮件转任务管道,或任何处理不受信任的入站电子邮件的工作流。当用户希望以编程方式接收电子邮件并对其采取行动时,请始终使用此技能,即使他们没有提到“代理”——该技能包含关键的安全模式(发件人允许列表、内容过滤、沙盒处理),可防止不受信任的电子邮件控制您的系统。
用于构建安全且响应迅速的 AI 代理收件箱或邮件转任务管道,能够以编程方式接收和处理电子邮件。
功能
- 安全入站电子邮件处理
- 基于 Webhook 的实时通知
- 可配置的安全级别(严格、域、过滤、沙盒)
- Webhook 签名验证
- 用于 Webhook 注册的 API
使用场景
- 创建用于自动支持或任务管理的 AI 代理收件箱
- 构建邮件转任务管道
- 以编程方式处理不受信任的入站电子邮件
- 将电子邮件接收集成到代理工作流中
非目标
- 在没有任何验证的情况下处理电子邮件
- 信任电子邮件头信息进行身份验证
- 直接从电子邮件内容执行代码
- 在未经净化的情况下将不受信任的输入直接混合到代理提示中
工作流
- 设置 Resend 账户和域名。
- 为电子邮件处理选择安全级别。
- 配置自定义域的 MX 记录(如果适用)。
- 使用 Resend SDK 或 API 创建 Webhook 端点。
- 在入站请求时验证 Webhook 签名。
- 使用 Resend SDK 检索电子邮件内容。
- 应用选定的安全级别来验证发件人和内容。
- 将已验证的电子邮件内容传递给 AI 代理进行处理。
实践
- Webhook 安全
- 输入验证
- 速率限制
- 内容过滤
先决条件
- 一个具有已验证域的 Resend 账户
- 存储在 RESEND_API_KEY 环境变量中的 Resend API 密钥
- 项目中安装并更新了 Resend SDK
安装
请先添加 Marketplace
/plugin marketplace add resend/resend-skills/plugin install resend-skills@resend-skills质量评分
已验证类似扩展
Mcp Setup
100Configure popular MCP servers for enhanced agent capabilities
Deepinit
100Deep codebase initialization with hierarchical AGENTS.md documentation
Agent Worker Specialist
100Agent skill for worker-specialist - invoke with $agent-worker-specialist
Orchestrate
100Wire Commands, Agents, and Skills together for complex features. Use when building features that need research, planning, and implementation phases.
Context Compression
100This skill should be used when the user asks to "compress context", "summarize conversation history", "implement compaction", "reduce token usage", or mentions context compression, structured summarization, tokens-per-task optimization, or long-running agent sessions exceeding context limits.
Init
100Initializes an optional repo-local agent collaboration preference file at `.ai/swe.json` by running a short interview or a zero-question quick mode. Use when a user says `initialize agent settings for this repo`, `set up my local agent prefs here`, `run quick init for this project`, or `create .ai/swe.json for how I like to work`. Do NOT use for `npm init`, project scaffolding, dependency installation, or environment bootstrap.