Repository navigation
Description
Existing documentation URL(s)
- https://developers.cloudflare.com/email-service/reference/postmaster/#sending-or-replying-to-an-email-from-your-cloudflare-domain
- https://developers.cloudflare.com/email-service/api/route-emails/email-handler/#reply-to-emails
- https://developers.cloudflare.com/email-service/get-started/route-emails/#create-an-email-processing-worker
What changes are you suggesting?
Scope the Postmaster limitation to replies composed in the destination mailbox. Explain that forwarding alone leaves that mailbox using its own sending address. An Email Worker can reply from the domain that received the message when the incoming message meets the Workers API reply requirements. Link to those requirements so operators can tell which path supports replies from the routed domain.
Additional information
Summary
The Postmaster page describes a forwarding mailbox's reply behavior but opens with a blanket restriction on replies from the routed domain. The Workers API documents same-domain replies through the inbound email handler.
Steps to reproduce
- Read the Postmaster section linked above for a message routed from an alias such as
support@example.comto a forwarding mailbox. - Compare its opening sentence with the Workers API's example that calls
message.reply({ from: message.to, ... })on an eligible incoming message. The routing quickstart also configures a Worker to reply from an address on the routed domain.
Expected behavior
The Postmaster page should give the destination-mailbox reply behavior and the eligible Worker reply behavior separately.
Actual behavior
The opening sentence rules out same-domain replies across Email Routing. The Workers API requires the outgoing sender domain to match the receiving domain and demonstrates the reply. Verification was limited to the published pages and their production source.
Evidence
- Expected source: Workers API, Reply to emails,
src/content/docs/email-service/api/route-emails/email-handler.mdx:250–278. The Route emails quickstart corroborates the Worker reply path insrc/content/docs/email-service/get-started/route-emails.mdx:156–179. - Failure source: Postmaster, Sending or replying to an email from your Cloudflare domain,
src/content/docs/email-service/reference/postmaster.mdx:212–214. - Evidence provenance: observed
- Local verification: reproduced
- Reproduction completeness: complete
Restoration check
For the same inbound alias, a reader should be able to identify the sending address when replying from the forwarding mailbox and determine when a Worker may send a reply from the routed domain.
Runtime or environment
Published Cloudflare Developer Docs, cross-checked against production revision cd5bf82ac1d0d34fe13997eb15c6727b498cd926.
Triage assessment
- Impact level: P2
- Assessment status: supported
- Impact basis: The blanket restriction can lead operators to rule out same-domain automated replies when choosing a routing setup.
- Workaround status: available
- Workaround basis: The Workers API documents the supported automatic reply path and its eligibility requirements.
References
- Better docs for Email Workers #12796 — The discussion confirmed that eligible Worker replies can use the receiving domain and identified the Postmaster restriction as older than Worker reply support. The current Postmaster wording still applies the restriction across Email Routing.
Activity
[Email Service] Fix postmaster, limits, and GraphQL analytics docs