© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
8 replies
Webber

Email worker template?

From the email workers documentation there's a nice description of how to create a worker. https://developers.cloudflare.com/email-routing/email-workers/

Trying to start a project I'm looking for a typescript template or simply the types.

The page links to languages:
https://developers.cloudflare.com/workers/platform/languages/

Which links to:
https://github.com/cloudflare/workers-types

Which is archived - types now live in workerd (which is a C++ repo):
https://github.com/cloudflare/workerd

From there it's unclear how to use types for email workers in your project. So from following that path it's unclear: How to include the types?

And if the answer is "use the regular worker typescript template", that's fine too. Perhaps it would be nice to see this reflected in the docs - I'd be happy to submit a PR for that.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Email Worker
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Email Worker
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Worker Email Mimetext
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Simple email worker
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago