/agent-email-inbox
Webhook signing secret for verifying inbound email event payloads. Returned as `signing_secret` in the response when you create a webhook via the API.
Claude Code
$ npx -y skills add resend/resend-skills --skill agent-email-inbox --agent claude-code
Codex
$ npx skills add resend/resend-skills --skill agent-email-inbox -a codex -y
Cursor
$ npx skills add resend/resend-skills --skill agent-email-inbox -a cursor -y
Gemini CLI
$ npx skills add resend/resend-skills --skill agent-email-inbox -a gemini-cli -y
GitHub Copilot
$ npx skills add resend/resend-skills --skill agent-email-inbox -a github-copilot -y
OpenCode
$ npx skills add resend/resend-skills --skill agent-email-inbox -a opencode -y
Windsurf
$ npx skills add resend/resend-skills --skill agent-email-inbox -a windsurf -y
SKILL.md
agent-email-inbox.SKILL.mdname: agent-email-inbox
description: Use when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow processing untrusted inbound email. Always use this skill when the user wants to receive emails and act on them programmatically, even if they don't mention "agent" — the skill contains critical security patterns (sender allowlists, content filtering, sandboxed processing) that prevent untrusted email from controlling your system.
license: MIT
metadata:
author: resend
version: "4.1.1"
homepage: https://resend.com/agent-skills
source: https://github.com/resend/resend-skills
openclaw:
primaryEnv: RESEND_API_KEY
requires:
env:
- RESEND_API_KEY
envVars:
- name: RESEND_API_KEY
required: true
description: Resend API key for sending and receiving emails
- name: RESEND_WEBHOOK_SECRET
required: false
description: Webhook signing secret for verifying inbound email event payloads
- name: SECURITY_LEVEL
required: false
description: Security level for inbound email processing (strict, moderate, permissive)
- name: ALLOWED_SENDERS
required: false
description: Comma-separated list of allowed sender email addresses
- name: ALLOWED_DOMAINS
required: false
description: Comma-separated list of allowed sender domains
- name: OWNER_EMAIL
required: false
description: Owner email address for forwarding or notifications
links:
repository: https://github.com/resend/resend-skills
documentation: https://resend.com/docs/agent-email-inbox-skill
inputs:
- name: RESEND_API_KEY
description: Resend API key for sending and receiving emails. Get yours at https://resend.com/api-keys
required: true
- name: RESEND_WEBHOOK_SECRET
description: Webhook signing secret for verifying inbound email event payloads. Returned as `signing_secret` in the response when you create a webhook via the API.
required: false
references:
- security-levels.md
- webhook-setup.md
- advanced-patterns.mdAI Agent Email Inbox
Overview
This skill covers setting up a secure email inbox that allows your application or AI agent to receive and respond to emails, with content safety measures in place.
**Core principle:** An AI agent's inbox receives untrusted input. Security configuration is important to handle this safely.
The skill builds the agent on a Resend **Inbox**. An inbox groups email into threads, and your agent replies inside the thread with one call. Resend sets the recipients and the threading headers. If the user has no custom domain, or their plan has no inbox available, use [Receiving without an inbox](#receiving-without-an-inbox) instead. The security levels are the same for both.
Why Webhook-Based Receiving?
Resend uses webhooks for inbound email, meaning your agent is notified **instantly** when an email arrives. This is valuable for agents because:
- **Real-time responsiveness** — React to emails within seconds, not minutes
- **No polling overhead** — No cron jobs checking "any new mail?" repeatedly
- **Event-driven architecture** — Your agent only wakes up when there's actually something to process
- **Lower API costs** — No wasted calls checking empty inboxes
Architecture
Sender → Email → Resend Inbox → inbox.email.received webhook → Your Server → AI Agent
↓
Security Validation
↓
Process or Reject → Reply in the threadSDK Version Requirements
Use the Node.js SDK `resend` >= 6.36.0 for the full `resend.inboxes.*` API and the `inbox.*` webhook event types. Always install the latest SDK version. If the project already has a Resend SDK installed, check the version and upgrade if needed.
The Python SDK `resend` >= 2.51.0 also has the inbox methods. The Go, Ruby, PHP, Java, Rust and .NET SDKs have them too. Install their latest version, and see the [Inboxes API reference](https://resend.com/docs/api-reference/inboxes/create-inbox) for samples in each language. To receive email without an inbox, see [Receiving without an inbox](#receiving-without-an-inbox).
The table below lists the minimums for the Receiving flow: webhook verification (`webhooks.verify()`) and email receiving (`emails.receiving.get()`). The `resend` skill lists higher minimums because it also covers newer features such as domain claims (`domains.claims.*`). If both skills are loaded, use the higher version.
| Language | Package | Min Version | |----------|---------|-------------| | Node.js | `resend` | >= 6.9.2 | | Python | `resend` | >= 2.21.0 | | Go | `resend-go/v4` | >= 4.0.0 | | Ruby | `resend` | >= 1.0.0 | | PHP | `resend/resend-php` | >= 1.1.0 | | Rust | `resend-rs` | >= 0.20.0 | | Java | `resend-java` | >= 4.11.0 | | .NET | `Resend` | >= 0.2.1 |
Install the `resend` npm package: `npm install resend` (or the equivalent for your language). For full sending docs, install the `resend` skill.
Quick Start
1. **Ask the user for their email address.** You need a real email address to send test emails to. Ask the user and wait for their response before proceeding. 2. **Choose your security level.** Decide how to validate incoming emails *before* any are processed 3. **Set up the domain.** Verify the user's custom domain for sending, and for receiving unless the inbox uses forwarding (see Domain Setup section) 4. **Create the inbox.** Create the agent's address with `resend.inboxes.create()` (see Create the Inbox se
Read more
name: agent-email-inbox
description: Use when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow processing untrusted inbound email. Always use this skill when the user wants to receive emails and act on them programmatically, even if they don't mention "agent" — the skill contains critical security patterns (sender allowlists, content filtering, sandboxed processing) that prevent untrusted email from controlling your system.
license: MIT
metadata:
author: resend
version: "4.1.1"
homepage: https://resend.com/agent-skills
source: https://github.com/resend/resend-skills
openclaw:
primaryEnv: RESEND_API_KEY
requires:
env:
- RESEND_API_KEY
envVars:
- name: RESEND_API_KEY
required: true
description: Resend API key for sending and receiving emails
- name: RESEND_WEBHOOK_SECRET
required: false
description: Webhook signing secret for verifying inbound email event payloads
- name: SECURITY_LEVEL
required: false
description: Security level for inbound email processing (strict, moderate, permissive)
- name: ALLOWED_SENDERS
required: false
description: Comma-separated list of allowed sender email addresses
- name: ALLOWED_DOMAINS
required: false
description: Comma-separated list of allowed sender domains
- name: OWNER_EMAIL
required: false
description: Owner email address for forwarding or notifications
links:
repository: https://github.com/resend/resend-skills
documentation: https://resend.com/docs/agent-email-inbox-skill
inputs:
- name: RESEND_API_KEY
description: Resend API key for sending and receiving emails. Get yours at https://resend.com/api-keys
required: true
- name: RESEND_WEBHOOK_SECRET
description: Webhook signing secret for verifying inbound email event payloads. Returned as `signing_secret` in the response when you create a webhook via the API.
required: false
references:
- security-levels.md
- webhook-setup.md
- advanced-patterns.mdAI Agent Email Inbox
Overview
This skill covers setting up a secure email inbox that allows your application or AI agent to receive and respond to emails, with content safety measures in place.
**Core principle:** An AI agent's inbox receives untrusted input. Security configuration is important to handle this safely.
The skill builds the agent on a Resend **Inbox**. An inbox groups email into threads, and your agent replies inside the thread with one call. Resend sets the recipients and the threading headers. If the user has no custom domain, or their plan has no inbox available, use [Receiving without an inbox](#receiving-without-an-inbox) instead. The security levels are the same for both.
Why Webhook-Based Receiving?
Resend uses webhooks for inbound email, meaning your agent is notified **instantly** when an email arrives. This is valuable for agents because:
- **Real-time responsiveness** — React to emails within seconds, not minutes
- **No polling overhead** — No cron jobs checking "any new mail?" repeatedly
- **Event-driven architecture** — Your agent only wakes up when there's actually something to process
- **Lower API costs** — No wasted calls checking empty inboxes
Architecture
Sender → Email → Resend Inbox → inbox.email.received webhook → Your Server → AI Agent
↓
Security Validation
↓
Process or Reject → Reply in the threadSDK Version Requirements
Use the Node.js SDK `resend` >= 6.36.0 for the full `resend.inboxes.*` API and the `inbox.*` webhook event types. Always install the latest SDK version. If the project already has a Resend SDK installed, check the version and upgrade if needed.
The Python SDK `resend` >= 2.51.0 also has the inbox methods. The Go, Ruby, PHP, Java, Rust and .NET SDKs have them too. Install their latest version, and see the [Inboxes API reference](https://resend.com/docs/api-reference/inboxes/create-inbox) for samples in each language. To receive email without an inbox, see [Receiving without an inbox](#receiving-without-an-inbox).
The table below lists the minimums for the Receiving flow: webhook verification (`webhooks.verify()`) and email receiving (`emails.receiving.get()`). The `resend` skill lists higher minimums because it also covers newer features such as domain claims (`domains.claims.*`). If both skills are loaded, use the higher version.
| Language | Package | Min Version | |----------|---------|-------------| | Node.js | `resend` | >= 6.9.2 | | Python | `resend` | >= 2.21.0 | | Go | `resend-go/v4` | >= 4.0.0 | | Ruby | `resend` | >= 1.0.0 | | PHP | `resend/resend-php` | >= 1.1.0 | | Rust | `resend-rs` | >= 0.20.0 | | Java | `resend-java` | >= 4.11.0 | | .NET | `Resend` | >= 0.2.1 |
Install the `resend` npm package: `npm install resend` (or the equivalent for your language). For full sending docs, install the `resend` skill.
Quick Start
1. **Ask the user for their email address.** You need a real email address to send test emails to. Ask the user and wait for their response before proceeding. 2. **Choose your security level.** Decide how to validate incoming emails *before* any are processed 3. **Set up the domain.** Verify the user's custom domain for sending, and for receiving unless the inbox uses forwarding (see Domain Setup section) 4. **Create the inbox.** Create the agent's address with `resend.inboxes.create()` (see Create the Inbox se
A collection of skills for AI coding agents following the Agent Skills format. Available as a plugin for Claude Code, Cursor, and any Agent Plugins client. Includes an MCP server for tool access.
Other skills on resend.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about agent-email-inbox.
- Which coding agents can use agent-email-inbox?
- agent-email-inbox installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

