cloudflare · Cloudflare Workers Docs
Workers Send Emails With Resend
A step-by-step tutorial for integrating the Resend SDK into a Cloudflare Worker to send transactional emails, including DNS configuration for domain verification and securing API keys using Worker secrets.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Send Emails With Resend
A step-by-step tutorial for integrating the Resend SDK into a Cloudflare Worker to send transactional emails, including DNS configuration for domain verification and securing API keys using Worker secrets.
When To Use
Use when you need to implement a workflow for sending transactional emails from a Cloudflare Worker using the Resend service and require guidance on DNS verification and secret management.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-send-emails-with-resend-index-workflow-guide.md | A tutorial guide for configuring Cloudflare Workers to send transactional emails using the Resend API. | Questions about a tutorial guide for configuring Cloudflare Workers to send transactional emails using the Resend API. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-email-tu.text | A step-by-step tutorial guide for integrating Resend email services within a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A step-by-step tutorial guide for integrating Resend email services within a Cloudflare Workers environment. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-email-se.text | The npm create command used to initialize a new Cloudflare Workers project configured for Resend email integration. | Exact payloads, commands, or snippets shown in The npm create command used to initialize a new Cloudflare Workers project configured for Resend email integration. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-email-fe.text | A JavaScript code snippet demonstrating how to implement a fetch handler in a Cloudflare Worker to send emails using the Resend API. | Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to implement a fetch handler in a Cloudflare Worker to send emails using... |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-npm-inst.text | The npm installation command required to add the Resend library to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The npm installation command required to add the Resend library to a Cloudflare Workers project. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-email-se-2.text | A JavaScript code example demonstrating how to use the Resend SDK within a Cloudflare Worker to send an email. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use the Resend SDK within a Cloudflare Worker to send an email. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-email-se-3.text | A step-by-step tutorial guide for integrating Resend with Cloudflare Workers to send emails. | Exact payloads, commands, or snippets shown in A step-by-step tutorial guide for integrating Resend with Cloudflare Workers to send emails. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-api-key-.text | A text file containing the RESEND_API_KEY environment variable configuration required for the Cloudflare Workers Resend tutorial. | Exact payloads, commands, or snippets shown in A text file containing the RESENDAPIKEY environment variable configuration required for the Cloudflare Workers Resend... |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-api-key--2.text | A command-line instruction for adding a Resend API key to Cloudflare Workers using the Wrangler CLI. | Exact payloads, commands, or snippets shown in A command-line instruction for adding a Resend API key to Cloudflare Workers using the Wrangler CLI. |
examples/workers-send-emails-with-resend-index-cloudflare-workers-resend-email-se-4.text | A JavaScript example demonstrating how to use the Resend SDK within a Cloudflare Worker to send an email. | Exact payloads, commands, or snippets shown in A JavaScript example demonstrating how to use the Resend SDK within a Cloudflare Worker to send an email. |
What This Skill Covers
- In this tutorial, you will learn how to send transactional emails from Workers using Resend ↗. At the end of this tutorial, you’ll be able to:
- Main sections:
Tags,Prerequisites,Create a Worker project,Add your domain to Resend,Send emails from your Worker.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/tutorials/send-emails-with-resend/index.md
