Skip to content

fix(email-service): Send bindings page says an unrestricted binding can only reach verified destination addresses #35024

Closed

Description

@coygeek

Existing documentation URL(s)

What changes are you suggesting?

The Send bindings page says a send_email binding without a restriction attribute "can send to any verified destination address in your account". The Limits page says that verified-only sending applies only before a sending domain is onboarded, and that after onboarding "you can send to any recipient immediately". The two pages give opposite answers about what an unrestricted binding can reach. A reader of Send bindings can conclude either that the binding cannot send transactional mail to arbitrary users, or that Cloudflare limits an unrestricted binding to verified addresses and so destination_address or allowed_destination_addresses are unnecessary as a safety control.

Additional information

Runtime or environment

cloudflare/cloudflare-docs production at 2a4bfc47c14e4943329abbb2f741b897c7184071, and the published pages on developers.cloudflare.com as of 2026-11-08, which show the same text.

Steps to reproduce

  1. On the Send bindings page, read the first bullet under Binding types and the // Send to any verified destination comment in the Wrangler example (src/content/docs/email-service/configuration/send-bindings.mdx lines 19 and 29).
  2. On the Limits page, read Verified destination addresses (src/content/docs/email-service/platform/limits.mdx line 24).
  3. Compare the two statements for a Worker whose sender address belongs to an onboarded sending domain, which the Send bindings page itself requires.

Expected behavior

The Send bindings page should describe the same recipient rule as the Limits page: with no restriction attribute and an onboarded sending domain, the binding can send to any recipient; before a sending domain is onboarded, only verified destination addresses are allowed. The restriction attributes are what limit recipients for a binding.

Actual behavior

Send bindings line 19 reads: "No restriction attribute: The binding can send to any verified destination address in your account." The example comment on line 29 reads "Send to any verified destination". Limits line 24 reads: "Before you onboard a sending domain, you can send emails only to verified destination addresses in your account. After you onboard a sending domain, you can send to any recipient immediately." The Pricing page (platform/pricing.mdx line 15) also describes "Sending to arbitrary recipients" as a plan matter, and the Workers API error table has no recipient-not-verified error, only E_RECIPIENT_NOT_ALLOWED for the allowlist attribute.

Evidence

  • Expected source: src/content/docs/email-service/platform/limits.mdx line 24, with platform/pricing.mdx line 15 and the error table in api/send-emails/workers-api.mdx.
  • Failure source: src/content/docs/email-service/configuration/send-bindings.mdx lines 19 and 29.
  • Evidence provenance: static
  • Local verification: static-proof
  • Reproduction completeness: complete

Runtime reproduction was not run: the investigating account has no onboarded sending domain, so an unrestricted send to an unverified recipient could not be attempted. Open pull request #33489 reports that, on an account with an onboarded sending domain, an unrestricted binding accepted a send to an address that is not a verified destination; that observation is supplied by the pull request author and was not repeated here.

Restoration check

Failing: the Send bindings page's unrestricted-binding bullet and example comment say verified destinations only, while Limits says any recipient after onboarding. Passing: the Send bindings page no longer limits an unrestricted binding to verified destination addresses, agrees with Limits, and its example comment matches the bullet. The destination_address and allowed_destination_addresses descriptions remain unchanged.

References

Triage assessment

  • Impact level: P2
  • Assessment status: supported
  • Impact basis: The page misstates what the default send_email binding permits. A developer who trusts it may rely on Cloudflare to restrict an unrestricted binding to verified addresses and omit an allowlist on a Worker that takes recipient addresses from input, or may wrongly conclude the binding cannot send to customers. No data loss or outage follows directly.
  • Workaround status: available
  • Workaround basis: The Limits page states the correct rule, and setting allowed_destination_addresses or destination_address explicitly restricts recipients regardless of which page a reader trusts.

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions