Isolated email inbox for Claude Code via Streamable HTTP MCP, avoiding risky Gmail OAuth

uriwa · reddit · 2026-11-27

The author argues connecting personal Gmail to Claude Code via OAuth is a bad tradeoff—one prompt injection in an email could reach password resets and billing threads. He open-sourced agentmail, a zero-install Streamable HTTP remote MCP endpoint giving agents their own isolated @theagentmail.net mailbox.

Key implementation details:

Full stack (Cloudflare Workers, Durable Objects, InstantDB, Resend) is MIT open source; a hosted version is free for 30 days, then $1/mo, or self-host.

Related event: Open-Source AgentMail Gives AI Agents Their Own Inboxes(2 posts)→

Original post →

More from coding & agent

coding & agent channel →