agent-email-inbox

Configure secure webhook-based email receiving for AI agents using the Resend API.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/divinaarmuela/Content --skill agent-email-inbox-divinaarmuela
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-email-inbox
Source: https://github.com/divinaarmuela/Content/tree/main/.claude/skills/agent-email-inbox
Command: npx skills add https://github.com/divinaarmuela/Content --skill agent-email-inbox-divinaarmuela

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires resend, svix, express, and includes references (resource) components.

What problem does it solve? AI agents that process inbound email receive untrusted input, and without sender validation, content filtering, and webhook verification, anyone can email instructions that your agent will execute. This Skill provides the security patterns and setup steps to receive and act on email safely. ## Core Features & Use Cases - Webhook-Based Receiving: Set up Resend inbound email with email.received webhook events, signature verification via Svix headers, and raw-body handling in Next.js or Express. - Five Security Levels: Implement strict sender allowlists, domain allowlists, content filtering, sandboxed processing, or human-in-the-loop approval for untrusted email. - Local Development Tunneling: Expose local webhook endpoints with Tailscale Funnel, ngrok, or Cloudflare Tunnel for testing. - Use Case: Build an automated support handler where emails to [email protected] trigger your AI agent, but only messages from allowlisted senders are processed while all rejections are logged and reported to the owner. ## Quick Start Ask the AI to set up a secure Resend email inbox webhook with a strict sender allowlist so your agent can receive and respond to emails.

Frequently Asked Questions about agent-email-inbox

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I receive emails with the Resend API?

Resend receives email via MX records on your domain and delivers `email.received` events to a webhook endpoint you register through the Webhooks API. Your POST endpoint verifies the signature, then fetches the full email body with `resend.emails.receiving.get()`.

How do I secure an AI agent that processes inbound email?

Start with a strict sender allowlist that rejects all email except from explicitly approved addresses. For broader access, add domain allowlists, content filtering, sandboxed agent capabilities, or human-in-the-loop approval for untrusted senders.

Why does Resend webhook signature verification fail?

Verification fails when the request body is parsed before verification, since signatures require the raw body. Use `req.text()` in Next.js or `express.raw({ type: 'application/json' })` in Express instead of JSON parsing middleware.

Can I test Resend webhooks on localhost?

Yes, expose your local server with a tunnel. Tailscale Funnel provides a permanent free HTTPS URL, while free ngrok URLs change on restart and require recreating the webhook registration each time.

What Resend SDK version is required for receiving email?

Webhook verification and email receiving require recent SDK versions: resend >= 6.9.2 for Node.js and >= 2.21.0 for Python. Older versions lack `webhooks.verify()` and `emails.receiving.get()`, causing undefined property errors.