agent-email-inbox
Installation
SKILL.md
AI Agent Email Inbox
Set up a secure email inbox that lets an AI agent receive and respond to emails, with protection against prompt injection and email-based attacks.
Core principle: An AI agent's inbox is a potential attack vector. Malicious actors can email instructions that the agent might blindly follow. Security configuration is not optional — it's the first thing you implement, not the last.
This skill is context-independent — it does not use brand/ files and works identically in any project.
On Activation
- Ask the user which agent needs an email inbox and what framework they're using (Next.js, Express, etc.).
- Determine environment: local development or production deployment.
- Walk through domain setup (Resend-managed or custom).
- Set up webhook endpoint with signature verification.
- If local dev: configure tunneling.
- Implement security level — read references/security-levels.md and present options to the user.
- Connect webhook to agent processing.
Output: A configured webhook handler file, environment variable checklist, and security configuration.