Your inbox, but it's a Cloudflare Durable Object with an AI intern
A self-hosted email client that parks your inbox inside Cloudflare Durable Objects and hands you an AI agent to answer it.

What it does Agentic Inbox is a web-based email client that sends and receives mail through Cloudflare Email Routing, with each mailbox isolated in its own Durable Object backed by SQLite and attachments stored in R2. It includes a side-panel AI agent—built on the Cloudflare Agents SDK and Workers AI—that can read messages, search conversations, draft replies, and queue them for your approval. The whole stack, from the React frontend to the Hono backend, runs on your own Cloudflare account without a traditional server.
The interesting bit
The architecture isolates each mailbox inside its own Durable Object with a SQLite database rather than a shared backend, keeping storage and compute bundled at the edge. The project also doubles as a reference implementation for Cloudflare’s newer primitives: it consumes Email Routing and Email Service APIs, exposes an MCP server at /mcp for external AI tools, and leans hard into the “everything on Workers” vision.
Key highlights
- Full email client with rich-text composer, threading, folders, search, and R2-backed attachments
- Per-mailbox isolation via Durable Objects with SQLite persistence
- Built-in AI agent with 9 email tools, auto-drafts inbound replies, and requires explicit send confirmation
- MCP server endpoint lets external tools like Claude Code or Cursor operate on mailboxes
- Cloudflare Access is the sole authorization boundary; no per-mailbox permissions inside the app
Caveats
- Setup is explicitly not one-click: you must manually configure Email Routing, Email Service, and Cloudflare Access secrets after deployment
- Any user who passes the shared Cloudflare Access policy can access every mailbox by design; there is no internal per-mailbox authorization
- Production use requires Cloudflare Access to be enabled and kept in sync via Worker secrets
Verdict Developers already living in the Cloudflare ecosystem and looking to dogfood edge-native email should take a look. If you need granular mailbox permissions or a plug-and-play SaaS experience, this is not your inbox.
Frequently asked
- What is cloudflare/agentic-inbox?
- A self-hosted email client that parks your inbox inside Cloudflare Durable Objects and hands you an AI agent to answer it.
- Is agentic-inbox open source?
- Yes — cloudflare/agentic-inbox is open source, released under the Apache-2.0 license.
- What language is agentic-inbox written in?
- cloudflare/agentic-inbox is primarily written in TypeScript.
- How popular is agentic-inbox?
- cloudflare/agentic-inbox has 6.5k stars on GitHub and is currently cooling off.
- Where can I find agentic-inbox?
- cloudflare/agentic-inbox is on GitHub at https://github.com/cloudflare/agentic-inbox.