create_email_rule
Create an email forwarding rule by specifying a source address and a verified destination. Requires human approval to execute; omit or set confirm false to preview the action.
Instructions
Create an Email Routing rule (forward an address to a destination). Requires confirm:true (human-approval gate); without it returns a preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| match_to | Yes | Source address to match, e.g. hello@example.com. | |
| forward_to | Yes | Verified destination address to forward matched mail to. | |
| name | No | Optional rule name. | |
| enabled | No | Whether the rule is active. Default true. | |
| confirm | No | Human-approval gate: must be true to actually perform this mutating operation. Omit or set false to get a non-executing preview of what would happen (with secrets redacted). A human should approve before this is set to true. |