Developing worker to send email locally

I am developing a worker locally to send an email that uses import { EmailMessage } from "cloudflare:email"; However when i run wrangler i get the error Uncaught Error: No such module "cloudflare-internal:email". Is there any way to run this locally? or do you have to deploy it to test?
1 Reply
ash_hitch2mo ago
Ahh needed to use --remote as its not supported