trying to send email from cloudflare workers

I'm trying to send email from the backend of my svelte-kit app on cloudflare workers. When my app tries, it gets an error:
TypeError: Email message building is experimental - need to enable `enableSendingQueuing` as an experimental flag
TypeError: Email message building is experimental - need to enable `enableSendingQueuing` as an experimental flag
I can't find any documentation referring to enableSendingQueuing any suggestions? In short... anytime a change occurs on the app, I want it to send an email. Should be simple, its to one email address, setup in Email Routing.
9 Replies
Hello, I’m Allie!
Email Sending without Email Routing is not yet available. https://blog.cloudflare.com/email-service/
The Cloudflare Blog
Announcing Cloudflare Email Service’s private beta
Today, we’re launching Cloudflare Email Service. Send and receive email directly from your Workers with native bindings—no API keys needed. We're unifying email sending and routing into a single service built for developers. Sign up for the private beta.
ruckc
ruckcOP2mo ago
So ... Your saying the experimental flag i found enables a future capability. How can I send emails today, if I want to stay in the cloudflare ecosystem? Push an event to a queue, and process the queue somehow with an email worker?
Hello, I’m Allie!
Cloudflare Docs
Send emails from Workers
You can send an email about your Worker's activity from your Worker to an email address verified on Email Routing. This is useful for when you want to know about certain types of events being triggered, for example.
Gab
Gab2mo ago
Also, There is a project in official cloudflare that uses email routing https://youtu.be/e6twi0-OaU8?si=H19V2KN2hDmQyP82
Cloudflare Developers
YouTube
How I Fixed Hacker News with Browser Rendering, Workers AI, + Email...
Stop manually checking Hacker News - let AI do it for you and deliver it to your inbox! Tired of constantly refreshing Hacker News to stay updated? I built the ultimate solution: a Cloudflare Worker that automatically scrapes the top 10 HN stories every hour, analyzes them with AI, and emails you personalized summaries. 🚀 What You'll Learn:...
ruckc
ruckcOP2mo ago
I ended up just using a webhook to another service for notifications. Look forward for easier email support in the future.
0xwei_hup
0xwei_hup2mo ago
hey there, so the private beta only starts in november? 👀
Hello, I’m Allie!
Yep
mr.niko.la
mr.niko.la2mo ago
Ya releasing the blog about the feature is too much of a tease I can’t think of better free marketing for resend then this. Too bad 🙁 unclear if it’s early nov or end. Lol can’t wait no more… Hopefully the email service also has mcp that would make it very useful

Did you find this page helpful?