wrangler queues subscription create accepts email.sending
Introduced 2026-08-11 · score 0.91
HOW TO USE IT
When subscribing a queue to email sending events, run `wrangler queues subscription create` with the queue, `--source email.sending`, `--events`, `--zone-id`, and `--domain`. Both zone ID and domain are required; use `wrangler queues subscription get` with the subscription ID to inspect the subscription.
npx wrangler queues subscription create <QUEUE> --source email.sending --events <EVENTS> --zone-id <ZONE_ID> --domain <SENDING_DOMAIN>npx wrangler queues subscription get <QUEUE> --id <SUBSCRIPTION_ID>WHY THIS HELPS
Create a queue subscription for email sending events from a zone or verified subdomain.
REQUIREMENTS AND LIMITATIONS
- Version: 4.121.0
- <QUEUE> (required): Name of the queue to create the subscription for; for get, the queue name.
- --source (required): Event source type; use `email.sending` for this task.
- --events (required): Comma-separated list of event types to subscribe to.
- --zone-id (required): Zone ID; required for the `email.sending` source.
- --domain (required): Sending domain: zone apex or verified subdomain; required for the `email.sending` source.
- --id (required): Subscription ID to retrieve with `queues subscription get`.
- The `--domain` must be the zone apex or a verified subdomain.
- Both `--zone-id` and `--domain` are required for the `email.sending` source.
FIRST-PARTY EVIDENCE
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.121.0
- https://developers.cloudflare.com/workers/wrangler/commands/queues/
Check the installed version and the source before using it. Entry JSON