Cloudflare Email Routing
Helps with Cloudflare, email as part of deploying and managing cloud infrastructure workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add cloudflare-email-routing npx -- -y @trustedskills/cloudflare-email-routing
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"cloudflare-email-routing": {
"command": "npx",
"args": [
"-y",
"@trustedskills/cloudflare-email-routing"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows you to manage email routing rules directly within your Cloudflare account. It enables you to forward, discard, or redirect emails based on sender, recipient, subject line, and other criteria. This provides granular control over inbound email flow, enhancing security and efficiency.
When to use it
- Filtering Spam: Automatically discard unwanted emails based on specific patterns in the sender's address or email content.
- Forwarding Important Emails: Route critical emails from VIP clients directly to a designated inbox for immediate attention.
- Redirecting Email Domains: Redirect all mail sent to an old domain to a new, active domain.
- Managing Newsletter Subscriptions: Automatically discard subscription requests or forward them to a dedicated processing system.
Key capabilities
- Email forwarding
- Email discarding
- Rule-based routing (sender, recipient, subject)
- Cloudflare account integration
Example prompts
- "Create a rule to forward all emails from '[email protected]' to '[email protected]'."
- "Discard any email with the subject line 'URGENT!'"
- “Redirect all mail sent to ‘olddomain.com’ to ‘newdomain.com’.”
Tips & gotchas
- Requires an active Cloudflare account and appropriate permissions to manage DNS records and email routing settings.
- Be cautious when creating discard rules, as they can permanently delete emails. Always test new rules thoroughly before implementing them widely.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.