01. Project Overview
Self-hosted web mail workspace written in Rust (workers-rs): session login, Markdown compose with email-safe preview, attachments, send history in KV, and drop-in ESP / theme / layout plugins — without running a mail server.

Self-hosted web mail workspace written in Rust (workers-rs): session login, Markdown compose with email-safe preview, attachments, send history in KV, and drop-in ESP / theme / layout plugins — without running a mail server.
Why build this?
Teams needed a private compose UI they could brand and host on their own Cloudflare account — not another shared SaaS mailbox, and not a VPS mail stack to babysit.
How was it solved?
Shipped Custom Mail as a Workers + KV product with JSON-driven branding, pluggable providers (Brevo, Resend, SendGrid, …), Docker / GHCR images, docs, and a ClawHub skill for agent installs.
System architecture
Core capabilities
What did I specifically do?
What technologies power it?
What results can we show?
How do you run it?
Deploy on Cloudflare Workers with secrets + KV, or run locally via Docker / wrangler; configure branding and ESP in config/mail.json.
Reference deployment of the private mail console.
Open Custom MailEN/ZH docs for config, Docker, deploy, and OpenClaw.
Open docsRust Workers app, plugins, and CI in the open.
GitHubOpen for collaboration, consulting, and engineering opportunities.