Cloudflare Email Routing hands each message for a connected domain to this Worker's email() handler, which keeps it (D1 for the message, R2 for the original source, HTML body and attachments) and can forward a copy to Gmail; Cloudflare Email Sending sends from any address on an onboarded domain. The Domains page adds domains and sets up their mail servers.
At a glance
| Live at | mail.appneurox.com |
| Worker | mail-catalog |
| Database | D1 mail-catalog-db · 3 migrations |
| File storage | R2 mail-catalog-messages |
| Built with | Next.js 16 · React 19 · OpenNext · Cloudflare Workers |
| Scheduled jobs | 23 3 * * * |
| API | 29 endpoints on 19 routes |
In these docs
- Quickstart Run it on your machine and check it.
- How it works Guide
- Configuration Bindings, variables, secrets and hosts.
- API reference Every endpoint, and which need a session.
- Deploy Migrations, secrets and going live.