megachangelog
Feature4.113.0

Email Routing addresses now configurable with Wrangler

Wrangler 4.113.0 and later can now manage Email Routing rules directly through configuration, allowing you to define literal recipient addresses or apex-domain catch-all patterns without manual setup.

Wrangler 4.113.0 and later can manage the Email Routing rules that send inbound email to a Worker. Define literal recipient addresses or an apex-domain catch-all with the top-level addresses field:

{
  "$schema": "./node_modules/wrangler/config-schema.json",
  "name": "my-worker",
  "main": "src/index.ts",
  // Set this to today's date
  "compatibility_date": "2026-09-25",
  "addresses": [
    "support@example.com",
    "*@example.com"
  ]
}
name = "my-worker"
main = "src/index.ts"
# Set this to today's date
compatibility_date = "2026-09-25"
addresses = ["support@example.com", "*@example.com"]

When you deploy the Worker or its triggers, Wrangler shows the planned Email Routing changes and reconciles the managed rules. Purely additive changes apply automatically. Deletions and rule takeovers require confirmation in an interactive environment.

Refer to Email routing rules and addresses for configuration and deployment details.

email-routingwranglerworkersconfiguration

Source: original entry ↗