© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
1 reply
Efe

TypeScript on Email Workers

https://github.com/cloudflare/workers-sdk/tree/main/templates/worker-typescript
I am using that template as starting point. I want to create email worker. While trying to use TypeScript I had some problems.

I can properly assing types of "message" argument in default function of worker.

In web editor, I can see autocomplete has message.headers and other stuff. But in local development I only have .from and .to methods. What should I do?
image.png
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 Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3mo ago
Email workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Email Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Email workers send email
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago