agentic-inbox is a self-hosted email client with a built-in AI agent that reads the inbox, searches conversations, and drafts replies, running entirely on Cloudflare Workers. It also exposes an MCP server so external AI tools can operate on mailboxes.
Project overview
It combines a self-hosted email client with an AI agent built on Cloudflare Agents SDK and Workers AI, plus an MCP endpoint that lets tools like Claude Code or Cursor operate on mailboxes — an early example of agentic email under user control.
Project type
MCP · AI Agent
Use cases
Automation
Deployment
Refer to project documentation
License
Apache-2.0
Best for
Developers who want a self-hosted email client with AI assistance for reading, searching, and drafting replies and are comfortable deploying on Cloudflare Workers.
Key capabilities
Side panel with 9 email tools for reading, searching, drafting, and sending, built on Cloudflare Agents SDK and Workers AI.
MCP server at /mcp lets external AI tools like Claude Code or Cursor operate on mailboxes via a mailboxId parameter.
Limitations and risks
There is no per-mailbox authorization; anyone passing the shared Cloudflare Access policy can access all mailboxes.
The deploy button alone is incomplete; manual post-deploy steps and an external GitHub issue comment guide are required to finish configuration.
The MCP server lets external AI tools operate on any mailbox, relying on the single Cloudflare Access trust boundary — check whether that boundary matches your access-control needs before connecting external tools.
Getting started
Click 'Deploy to Cloudflare' and provide DOMAINS; configure Cloudflare Access and set the POLICY_AUD and TEAM_DOMAIN Worker secrets; set up an Email Routing catch-all rule forwarding to the Worker; enable Email Service (send_email binding); then visit the deployed app and create a mailbox. The full step-by-step guide lives in an external GitHub issue comment.
Evidence and sources
README: Agentic Inbox lets you send, receive, and manage emails through a modern web interface -- all powered by your own Cloudflare account.
README: Clicking the 'Deploy to Cloudflare' button is only one part of the setup. You must follow the **After deploying** steps as well.
README: 5. **Create a mailbox** -- Visit your deployed app and create a mailbox for any address on your domain (e.g. `hello@example.com`)
README: this application is intentionally enforcing Cloudflare Access so your inbox is not exposed to anyone on the internet.
README: - **Built-in AI agent** — Side panel with 9 email tools for reading, searching, drafting, and sending