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-workflow-guide.md | A tutorial guide for setting up a Cloudflare Worker to send transactional emails using the Resend API. | Questions about a tutorial guide for setting up a Cloudflare Worker to send transactional emails using the Resend API. |
examples/workers-send-emails-with-resend-cloudflare-workers-resend-email-setup-tu.text | A step-by-step guide and command sequence for setting up a Cloudflare Worker to send emails using the Resend API. | Exact payloads, commands, or snippets shown in A step-by-step guide and command sequence for setting up a Cloudflare Worker to send emails using the Resend API. |
examples/workers-send-emails-with-resend-cloudflare-workers-resend-email-setup-co.text | The npm create cloudflare command used to initialize a new Workers project for sending emails with Resend. | Exact payloads, commands, or snippets shown in The npm create cloudflare command used to initialize a new Workers project for sending emails with Resend. |
examples/workers-send-emails-with-resend-cloudflare-workers-resend-email-fetch-ha.text | A JavaScript code example demonstrating how to use a Cloudflare Worker to send emails via the Resend API within a fetch handler. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use a Cloudflare Worker to send emails via the Resend API within a fet... |
examples/workers-send-emails-with-resend-cloudflare-workers-resend-npm-install-co.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-cloudflare-workers-resend-email-send-jav.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-cloudflare-workers-resend-email-tutorial.text | The npm start command used to execute the Cloudflare Workers tutorial for sending emails via Resend. | Exact payloads, commands, or snippets shown in The npm start command used to execute the Cloudflare Workers tutorial for sending emails via Resend. |
examples/workers-send-emails-with-resend-cloudflare-workers-resend-api-key-enviro.text | A text file containing the RESEND_API_KEY environment variable configuration required for the Workers and Resend integration. | Exact payloads, commands, or snippets shown in A text file containing the RESENDAPIKEY environment variable configuration required for the Workers and Resend integr... |
examples/workers-send-emails-with-resend-cloudflare-workers-resend-api-key-secret.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-cloudflare-workers-resend-email-send-jav-2.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
