Mimetext not defined

Hi everyone, im trying out cloudflare email workers, and the example on https://developers.cloudflare.com/email-routing/email-workers/reply-email-workers/ I am getting an error saying that mimetext is not imported. Do i have to add it somewhere?
Reply to emails from Workers · Cloudflare Email Routing docs
You can reply to incoming emails with another new message and implement smart auto-responders programmatically, adding any content and context in the …
1 Reply
kian
kian11mo ago
You need to install it with a package manager (like npm) and use Wrangler to publish it It can't be done in the dashboard Quick Edit
Want results from more Discord servers?
Add your server