If your AI agent needs to sign up for services, handle customer support, or do anything that requires an inbox, this walks you through the options and tradeoffs. It makes a strong case for dedicated agent email infrastructure over handing your agent OAuth access to your Gmail (prompt injection risk, over-permissioned tokens). The comparison table is practical: AgentMail for two-way conversations, Resend or SendGrid for send-only notifications, SES if you're deep in AWS. Includes real code samples for support bots, sales outreach, and OTP extraction. The security section on prompt injection via email is worth reading even if you're just evaluating whether email belongs in your agent architecture at all.
npx skills add https://github.com/agentmail-to/agentmail-skills --skill email-for-ai-agents