Skip to content

fix(email-routing): scope the Postmaster reply limitation to forwarding inboxes #36036

In review

Description

@coygeek

Existing documentation URL(s)

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

  1. Read the Postmaster section linked above for a message routed from an alias such as support@example.com to a forwarding mailbox.
  2. 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 in src/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

  1. added a commit that references this issue on Dec 4, 2026
    42dc19e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions