Email autoresponders

I’m trying to implement an email autoresponder, so that any mail to a certain address receives an automatic reply back.

The instructions on this page Reply to emails from Workers · Cloudflare Email Routing docs don’t work for me - it gives an error

Uncaught Error: No such module "mimetext". imported from "worker.js" (Code: 10021)

mimetext is a third-party NPM module. You’ll need to install it in your project with e.g. npm install mimetext.

Thank you for the reply - so you can’t just do this by adding code into the email workers interface on the cloudflare dashboard?

I’ve never used that, but no, it doesn’t appear to have a way to install NPM modules.