DKIM signing emails from worker.
Using a worker setup like: https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/
How do you add a dkim signature in a cloudflare worker mail binding?
Currently cloudflare adds a DKIM-Signature with domain email.cloudflare.net,
which is not aligned with my from address so all the emails from my workers land in spam.
The npm packages I've tried (dkim, dkim-signer, nodemailer) all require crpyto.
Though even if they required('node:crypto') I doubt they'd work.
Because node:crypto does not seem to have creatSign I can't even roll my own.
I don't want to use MailChannels. I don't want to be an open relay. Any suggestions?
How do you add a dkim signature in a cloudflare worker mail binding?
Currently cloudflare adds a DKIM-Signature with domain email.cloudflare.net,
which is not aligned with my from address so all the emails from my workers land in spam.
The npm packages I've tried (dkim, dkim-signer, nodemailer) all require crpyto.
Though even if they required('node:crypto') I doubt they'd work.
Because node:crypto does not seem to have creatSign I can't even roll my own.
I don't want to use MailChannels. I don't want to be an open relay. Any suggestions?
You can send an email about your Worker’s activity from your Worker to an email address verified on Email Routing. This is useful for when you want to …
