{
  "slug": "wrangler-queues-subscription-create-accepts-email-sending-f8bb442deedc",
  "title": "wrangler queues subscription create accepts email.sending",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-11T19:22:44.000Z",
  "announced_at": "2026-08-11T19:22:44.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "examples": [
      "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>"
    ],
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Create a queue subscription for email sending events from a zone or verified subdomain.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.121.0",
    "https://developers.cloudflare.com/workers/wrangler/commands/queues/"
  ],
  "rank": 0.9102,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "augsep-20261008",
    "verdict_id": "augsep-20261008:augsep-20261008-de8613c3fdbe5196-2:gate",
    "evidence_hash": "19d7333362241e7e9588555c79103d78c19c31e133feb5da2160d9bbc5d59539"
  },
  "review": {
    "draft_hash": "ada0f56fc3645620331221e0d8a9edfcb6a652612923fbe2994e1fd4d97075f0",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "augsep-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
