cloudflare/agentic-inbox — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a self hosted email inbox that runs on Cloudflare and feels like a normal modern webmail app.

I want to be able to connect my own domain, create mailboxes like hello at my domain, receive emails, send replies, forward messages, search conversations, organize folders, and handle attachments. The app should have a clean web interface with a rich text composer and threaded replies.

Add an AI assistant panel inside the inbox. It should be able to read emails, search the mailbox, summarize conversations, draft replies, and show what it’s doing. When a new email comes in, it can prepare a draft response automatically, but it must never send anything without me confirming first. Each mailbox should keep its own messages, settings, chat history, and custom AI instructions.

Please make it deployable to my Cloudflare account using Workers, Email Routing, R2, Durable Objects with SQLite, Workers AI, and Cloudflare Access so the inbox isn’t public. Look up current Cloudflare docs online if needed.

Want more depth? Deep Reverse