Cloudflare announced a partnership with MailChannels that allows you to send free email via workers.
The example code that MailChannels supplied wasn't working so I fixed it here to make testing easy.
- Add
include:relay.mailchannels.net
to your domain's SPF record. - Update the code below with your email addresses
- Create worker, paste code, save and deploy and test