Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cloudflare-email-service

Skill by cloudflare

Guides an AI assistant through Cloudflare Email Sending and Email Routing integrations, including sending transactional email and handling incoming mail. Aimed at developers building on Workers, AI agents or external apps.

  • Score 93
  • 3.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cloudflare-email-service

Built from the published package, never by AI.

git clone --depth 1 https://github.com/cloudflare/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloudflare-email-service ~/.claude/skills/cloudflare-email-service

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cloudflare-email-service in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill helps an assistant implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration. It tells the assistant to retrieve current Cloudflare docs, the REST API spec and workers types before writing code, because the source says the product launched in 2025 and changes quickly.

It covers sending from a Worker through a send_email binding, sending from Agents SDK agents, sending over the REST API with a Bearer token, and receiving mail with a Workers email() handler. It also includes wrangler commands, MCP tools and a deliverability guide for SPF, DKIM and DMARC. It is written for developers building transactional email on Cloudflare.

Written from the project's SKILL.md and checked against it.

What it can do

  • Workers sendingSends emails from a Cloudflare Worker using a send_email binding instead of API keys.
  • Agents SDK emailHandles incoming email and replies in an Agents SDK agent with onEmail() and replyToEmail().
  • REST API sendingSends emails from external apps or agents using a Bearer token and the Email Sending REST API.
  • Email RoutingProcesses incoming mail with a Workers email() handler, including forwarding and replying.
  • Domain setupEnables Email Sending or Email Routing for a domain with wrangler or the Dashboard.
  • Deliverability guidanceCovers SPF, DKIM, DMARC, bounces, suppressions and sending best practices.
  • Common mistake fixesLists pitfalls such as single-use raw streams and replyTo versus reply_to field names.

What you need

  • A domain onboarded to Email Sending
  • Wrangler CLI
  • Bearer token for the REST API
  • postal-mime package for receiving and parsing email

Try asking

  • Add a send_email binding to my Worker and send a password reset email.
  • Set up an email() handler that forwards incoming mail to my Gmail.
  • Why are my Cloudflare emails landing in spam? Check SPF, DKIM and DMARC.

Good to know

  • Email Service is for transactional email only, not marketing or bulk campaigns.
  • The source says the product launched in 2025 and may change, so the skill defers to live docs.
  • message.forward() only works with verified destination addresses.
  • The raw stream in an email handler can only be read once.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloudflare-email-service/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • references/cli-and-mcp.md4 KB
  • references/deliverability.md9 KB
  • references/rest-api.md2 KB
  • references/routing.md7 KB
Show all 7 files
  • references/sending.md3 KB
  • references/skill-feedback.md3 KB

Alternatives to cloudflare-email-service

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

cloudflare-email-service: common questions

Is this only for Cloudflare Workers?

No. The skill covers Workers bindings, the Agents SDK, the REST API, and MCP tools or the wrangler CLI for coding agents.

Can I use it to send marketing newsletters?

The source says Email Service is for transactional email only and recommends a dedicated marketing platform for newsletters and campaigns.

Does it include current pricing or limits?

The skill does not state prices or limits. It tells the assistant to retrieve them from the Cloudflare docs.

How do I install cloudflare-email-service?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cloudflare-email-service free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is cloudflare-email-service safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cloudflare-email-service?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

cloudflare-email-service Install

Add to stack

Loading.