cloudflare-email-routing
This skill guides you through Cloudflare Email Routing for both receiving emails via Workers and sending from verified addresses. Learn to parse incoming messages, implement allowlists and blocklists, route based on content, and handle attachments—all free and production-tested.
Cloudflare Email Routing lets you receive and send emails from Workers with built-in forwarding and parsing.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-25
Cloudflare Email Routing lets you receive and send emails from Workers with built-in forwarding and parsing. This skill guides you through Cloudflare Email Routing for both receiving emails via Workers and sending from verified addresses. Learn to parse incoming messages, implement allowlists and blocklists, route based on content, and handle attachments—all free and production-tested.
Use it when
- cloudflare-email-routing is an MIT-licensed skill that guides you through Cloudflare's Email Routing service for receiving emails.
- cloudflare-email-routing teaches you to set up Email Workers that trigger when emails arrive at your domain.
Verify before relying
Read SKILL.md below before installing (12 files). Open directory: indexed for reading, not audited.
Install
secondsky/claude-skills/cloudflare-email-routing · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I send emails from Cloudflare Workers?
cloudflare-email-routing enables sending emails from Workers using the Email Binding. First, verify the recipient address in your Cloudflare dashboard under Email Routing settings. Then configure your wrangler.toml with the email binding, and use the PostalMIME library to format messages. Call the binding's send() method with properly formatted MIME content to deliver emails to verified addresses.
What is cloudflare-email-routing and how does it work?
cloudflare-email-routing is an MIT-licensed skill that guides you through Cloudflare's Email Routing service for receiving emails via Workers and sending from verified addresses. It covers parsing incoming messages, implementing allowlists and blocklists, routing based on content, handling attachments, and building email automation patterns—all using Cloudflare's free Email Routing service.
How do I receive and parse emails with Cloudflare Workers?
cloudflare-email-routing teaches you to set up Email Workers that trigger when emails arrive at your domain. Use the PostalMIME library to parse incoming email content, extract attachments, and read headers. Workers receive the raw email message, which you can filter, validate, and forward based on custom logic like allowlists, blocklists, or content patterns.
What DNS records do I need for Cloudflare Email Routing?
cloudflare-email-routing requires proper DNS configuration including MX records pointing to Cloudflare's mail servers, SPF records to authorize sending, and DKIM records for authentication. Cloudflare typically manages these automatically when you enable Email Routing, but verify they're correctly set in your DNS settings to avoid delivery failures and ensure emails route properly.
How can I build allowlists and blocklists with Email Workers?
cloudflare-email-routing supports building email automation patterns by parsing sender addresses and content in your Worker. Store allowlists and blocklists in Durable Objects or KV storage, then check incoming email senders against these lists. Route matching emails forward to destinations, reject blocked senders, or trigger auto-replies based on your custom rules.
Why is my email worker destination address not verified?
cloudflare-email-routing requires all recipient addresses to be verified before sending. In your Cloudflare dashboard's Email Routing settings, add each destination address and confirm the verification email sent to that address. Until verified, the Email Binding will reject send attempts to unverified addresses with an error.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Cloudflare Email Routing
Status: Production Ready ✅ | Last Verified: 2025-11-18
What Is Email Routing?
Two capabilities:
1.
(truncated - see the full file via the links below)
File tree — 12 files
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/SKILL.md
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/references/common-errors.md
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/references/dns-setup.md
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/references/local-development.md
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/references/setup-guide.md
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/receive-allowlist.ts
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/receive-basic.ts
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/receive-blocklist.ts
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/receive-reply.ts
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/send-basic.ts
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/send-notification.ts
plugins/cloudflare-email-routing/skills/cloudflare-email-routing/templates/wrangler-email.jsonc
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Set up and configure Cloudflare Email Routing for receiving and sending emails”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Cloudflare Email Service enables transactional email sending through a Workers binding or REST API, supporting deployment across Workers, the Agents SDK, and external applications. Configure your domain with wrangler, then send emails with minimal setup—no API keys required for Workers. The skill covers sending mechanics, email routing for inbound messages, authentication best practices, and common configuration pitfalls.
Cloudflare Agentic Inbox is a self-hosted email client powered by AI agents, built entirely on Cloudflare Workers. It combines Email Routing for receiving messages, Durable Objects with SQLite for per-mailbox storage, R2 for attachments, and Workers AI for intelligent email assistance.
Cloudflare Workers Observability equips you with structured logging, custom metrics via Analytics Engine, real-time log streaming through Tail Workers, and alerting capabilities for production deployments. The skill covers critical patterns for request context tracking, sensitive data redaction, log sampling, and error prevention across all observability components.
Cloudflare Workers Security delivers production patterns for protecting APIs and Workers through authentication verification, request rate limiting, input validation, and security headers. It covers JWT and API key validation, CORS configuration, and defends against common vulnerabilities like injection, XSS, and unauthorized access.
Master performance tuning for Cloudflare Workers through CPU optimization, memory management, and strategic caching. Learn to profile hot paths, stream large payloads, batch operations, and minimize cold starts while staying within platform limits.
Configure production-ready deployment pipelines for Cloudflare Workers using GitHub Actions or GitLab CI. This skill covers automated testing on every commit, multi-environment deployments, preview URLs per pull request, secrets management, and deployment verification to prevent failures and enforce safe release practices.
More skills cloudflare-cron-triggers (MIT)