{
  "slug": "wrangler-email-routing-and-sending-commands-e47387f11db3",
  "title": "wrangler email routing and sending commands",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-07T19:08:38.000Z",
  "announced_at": "2026-04-07T19:08:38.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "If you need to inspect or change a zone’s email routing or sending, use `wrangler email routing` or `wrangler email sending` with the zone domain. For routing or sending setup, enable the feature; for sending, use `send` for builder-style email or `send-raw` for MIME.",
    "examples": [
      "wrangler email routing settings <domain>",
      "wrangler email routing enable <domain>",
      "wrangler email sending enable <domain>"
    ],
    "gotchas": [
      "Version: 4.81.0",
      "<domain> (required): Zone domain to inspect or enable; for sending, the release note says this may be a zone or subdomain.",
      "email_routing:write (required): OAuth scope added for Wrangler email routing commands.",
      "email_sending:write (required): OAuth scope added for Wrangler email sending commands.",
      "Prerequisite: Wrangler 4.81.0 introduced these command groups.",
      "Prerequisite: Log in with `wrangler login` and grant `email_routing:write` and/or `email_sending:write` for the respective commands."
    ]
  },
  "why_it_matters": "Configure or inspect email routing and sending for a zone from the command line.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.81.0",
    "https://github.com/cloudflare/skills/blob/main/skills/cloudflare-email-service/references/cli-and-mcp.md"
  ],
  "rank": 0.98056,
  "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": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-425b7240d638c0ef-0:gate",
    "evidence_hash": "d758d63af9c593a028d8b8de112d1c1053afaabb1f13cbcb777d2ca3f9578f62"
  },
  "review": {
    "draft_hash": "164245d01b28218e914d50f9f22fdab99cb61c62b6c61652937432fa51287848",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.82 (>= 0.6 needed)."
  }
}
