Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Send Email from Cloudflare Workers

There are two real ways to do this: Cloudflare's own native Email Service binding, or calling an external email API like Notify over fetch() . I'll walk through both, but I want to flag something about the native option up front that's easy to miss until you're actually setting it up: it currently requires the Workers Paid plan, not just a Cloudflare account. If you're on the free Workers tier…

Cloudflare Workers offer two methods to send emails: using its built-in Email Service binding or calling an external email API with the fetch() method. The native Email Service binding, however, requires the Workers Paid plan and has limitations on sending to arbitrary recipients and before fully onboarding a domain. In contrast, calling an external API like Notify over fetch() is a more portable approach that works well with Workers since it avoids any Node.js specific issues.

This method requires storing the API key as a secret and calling the API from the Worker with a POST request containing the necessary email details. The native Email Service binding involves registering a domain, adding DNS records, and binding it to your Wrangler config. Once configured, it can be used in a Worker's fetch() function to send emails.

For handling bounced emails, a webhook can be registered with Notify to receive real-time notifications. It's important to note that Cloudflare's Email Service also handles inbound email routing, while Notify only handles outbound sending. Testing should be done using wrangler dev, which logs messages locally for inspection, rather than sending actual emails.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The GNU strip backdoor is the case AI code review can't see

This paper (arxiv 2607.24888) is worth a stop if you evaluate AI code review. It shows Ken Thompson's trusting-trust attack is not compiler-specific: the authors pull it off with GNU strip, a build…

  • GNU strip backdoor can implant payload in ELF binaries
  • AI code review tools cannot detect binary-level malicious code
  • Strip-trust problem requires separate verification from source code review

I Want More Coding Agents to Work Like This

💻 One thing I dislike about coding-agent setups is how quickly they become part of one specific machine. Provider config goes in one place, session state somewhere else, local models live in another…

  • OpenClaude-Portable packages coding agent, runtime, and data in a single folder.
  • Supports nine model providers, including Anthropic Claude and OpenAI.
  • Offers cloud and local model options, with local models reducing latency significantly.

Weekly Dev Log 2026-W18

🗓️ This Week We’ve still had plenty of hot days lately, but there have also been some cooler days when it rains. It’s starting to feel like summer is slowly coming to an end🎇.

  • ToneDrill introduces Chord Tone Practice mode
  • Validation script tests 504 conditions
  • Author focuses on UI design for new mode

More from Tuesday 8 September →