How does a Worker receive email?
Cloudflare Email Routing receives mail for your domain and can hand it to a Worker, which runs its email() handler for each message. Receiving and sending are separate parts of Cloudflare's email product: Email Routing handles incoming mail, and Email Sending handles outgoing mail.
On its own that gives you a raw message and nothing else. Parsing it, storing it, notifying your app and letting you read it later is code you write. That part is what sendmcp adds.
What does sendmcp do with incoming mail?
| Step | Where it happens |
|---|---|
| Mail arrives | Email Routing hands it to the Worker's email() handler |
| Raw message saved | R2 in your account |
| From, to, subject, text and HTML parsed | D1 in your account |
| Your app is told | Signed email.received webhook, same Svix headers as Resend |
| Your app reads it | GET /emails/receiving, the same path as Resend |
| Your agent reads it | inbound_list for an address or domain, inbound_get for one email with headers, text and HTML |
Will receiving break my existing email?
It should not. sendmcp receives on a subdomain or an address you choose, and never changes the apex MX records without your explicit consent, because that would break the mail you already receive.
What is not included?
- Attachments as separate objects, threads, replying in a thread and per-address routing rules are planned for later. The first version stores and lists whole messages.
- It is not an inbox product like Resend's Inboxes, and it does not do contacts or marketing email.
- Outgoing email is limited to transactional mail, as Cloudflare requires.
Receiving is a basic feature, and the sending features on this site are the more complete part. Details from the Cloudflare Email Service docs, checked Nov 23, 2026.