A self-hosted email platform, entirely on Cloudflare.
Doota is the studio's own product: an open-source, self-hosted email platform that renders mail as a chat interface — web client and developer sending API from one deploy, on any Cloudflare account. I designed and built it from first commit to production release, and it's the clearest evidence of how I build stateful systems on the edge.
The problem
Email is heavy, unbounded, and stubbornly stateful — and Cloudflare's edge is optimised for the opposite. No transactions in D1, a 2 MB row cap, a 10 GB database ceiling, and an inbound handler that must never drop a message. Building a real mail platform there meant treating each of those limits as a design input rather than a blocker: raw MIME as canonical truth in R2, an ingest path that acks before it parses, unique constraints as concurrency control, and encryption that still leaves search working.
What I built
How it works
Results
Running it
Doota is live at doota.dev and maintained in the open — the repo, the docs, and the design decisions are all public, including a long write-up of the eight places the platform pushed back. Calendar and contacts are next, on the CalDAV/CardDAV layer already validated against the protocol suite. It's the reference implementation for how I'd build your system too.
Related
I take on a small number of projects at a time.
Tell me what you're building and where it hurts. I'll say honestly whether I'm the right person for it.