Self-hosted on Cloudflare

Your inbox, with an AI agent built in

Send and receive email through a modern web client — then let an AI assistant read threads, draft replies, and organize your mail. All running on your own Cloudflare account.

What you get

A full email client and an AI sidekick — no third-party mail servers, no SaaS lock-in.

✉️

Real email client

Send and receive via Cloudflare Email Routing. Rich composer, threading, folders, search, attachments, and snooze.

🤖

Built-in AI agent

A side panel with tools to read, search, draft, and send. New emails can auto-generate draft replies — you always confirm before anything goes out.

🔒

Your infrastructure

Each mailbox lives in its own Durable Object with SQLite. Attachments go to R2. Protected by Cloudflare Access in production.

🔌

MCP support

Connect external AI tools like Claude Code or Cursor through the MCP server. Same inbox, different interface.

🧠

Smart triage

Incoming mail gets classified by priority and category. Semantic search helps you find conversations by meaning, not just keywords.

⚙️

Configurable

Custom system prompts per mailbox, branding, webhooks, and persistent agent chat history with streaming responses.

How it works

Three pieces of Cloudflare infrastructure, one deploy button.

Route your mail

Set up Email Routing on your domain with a catch-all rule pointing to the Worker. Inbound mail lands in your inbox automatically.

Create a mailbox

Open the app, create a mailbox for any address on your domain — hello@yourdomain.com, support@, whatever you need.

Let the agent help

The AI reads new emails, drafts replies in your voice, and waits for your OK. Ask it to search, archive, or summarize anytime.

Under the hood

Workers at the edge, state in Durable Objects, intelligence from Workers AI.

BrowserHono WorkerMailbox DO (SQLite + R2) │ │ │ WebSocket ├─→ EmailAgent DO (9 tools + Workers AI) └────────────────────┘ └─→ EmailMCP (external AI clients)
Cloudflare Workers Durable Objects R2 Email Routing Workers AI Agents SDK React 19 Cloudflare Access

Run your own

Fork it, deploy to your Cloudflare account, point Email Routing at it. Takes about 15 minutes if you've done it before.