# agent-email-inbox

> Claude/Codex skill by [@resend](https://omgskills.com/library/resend/index.md) · 202 stars · Updated 2026-10-17

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.

## Install

```sh
git clone https://github.com/resend/resend-skills /tmp/resend-skills && ln -s /tmp/resend-skills/skills/agent-email-inbox ~/.claude/skills/agent-email-inbox
```

## From README

AI 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 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.

## Links

- HTML page: https://omgskills.com/skills/resend/resend-skills/agent-email-inbox/
- GitHub: https://github.com/resend/resend-skills
- Author: [@resend](https://omgskills.com/library/resend/index.md)

## More from this repo

- [email-best-practices](https://omgskills.com/skills/resend/resend-skills/email-best-practices/index.md) — Used when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication,...
   - [@resend](https://omgskills.com/library/resend/index.md) · 202 stars
- [react-email](https://omgskills.com/skills/resend/resend-skills/react-email/index.md) — Used when building HTML email templates with React components, adding a visual email editor to an application using the...
   - [@resend](https://omgskills.com/library/resend/index.md) · 202 stars
- [resend](https://omgskills.com/skills/resend/resend-skills/resend/index.md) — Used when working with the Resend email API — sending transactional emails (single or batch), receiving inbound emails...
   - [@resend](https://omgskills.com/library/resend/index.md) · 202 stars
