---
title: "Receive email on Cloudflare Workers, step by step | sendmcp"
url: https://sendmcp.dev/receive-email-cloudflare-workers/
description: "A Worker can receive email through Cloudflare Email Routing. What the email() handler gets, what sendmcp stores and gives your agent, and what comes later."
---

[Features](https://sendmcp.dev/features/) · Receive email

# Can I receive email on Cloudflare Workers?

Yes, you can receive email on Cloudflare Workers: Cloudflare Email Routing passes incoming mail for your domain to a Worker's `email()` handler. sendmcp builds on that. On a subdomain or address you choose, it stores the raw message in R2 and the parsed fields in D1, fires a signed `email.received` webhook and lets your agent read mail. Cloudflare allows 30 Email Routing or Email Sending domains per zone.

Updated Nov 23, 2026 · Open source, [runs on your Cloudflare account](https://sendmcp.dev/#pricing)

## 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 |

# ask your agent Show me the last emails received at support@acme.com and summarise the open questions.

## 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](https://developers.cloudflare.com/email-service/), checked Nov 23, 2026.

## Questions about this

### Do I need Email Routing to send email?

No. Sending uses Cloudflare Email Sending. Email Routing is only needed to receive mail in a Worker.

### Can my agent read incoming email?

Yes. `inbound_list` lists received mail for an address or domain, and `inbound_get` returns one email with its headers, text and HTML.

### Can I receive mail on my apex domain?

Only if you say so. sendmcp never changes the apex MX records without your explicit consent. A subdomain or a chosen address avoids touching your current mail.

## Related questions

### How do I send email from a Cloudflare Worker?

The binding or sendmcp, with code for both.

[How do I send email from a Cloudflare Worker?](https://sendmcp.dev/send-email-from-cloudflare-workers/)

### Is there an email MCP server for Claude, Cursor and ChatGPT?

resend-mcp and sendmcp compared, and how to connect your agent.

[Is there an email MCP server for Claude, Cursor and ChatGPT?](https://sendmcp.dev/email-mcp-server/)

### Why did my email bounce, and how do I fix it?

bounce_explain reads the SMTP response and names the cause and the fix.

[Why did my email bounce, and how do I fix it?](https://sendmcp.dev/why-did-my-email-bounce/)

## Send from every project for $0.

Open source. One click puts it on your Cloudflare account.

[Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/agentfirsthq/sendmcp)
