I need this feature often. Any time when I register to a new web service, I need a very fast way to add a new email address for it.
Is it possible to automate this creation?
Add a destination address to email routing? Such exists: Cloudflare API Documentation
You’ll need to verify it separately, when it sends you an email with the link to verify.
You can create routing rules too via the API: Cloudflare API Documentation, “custom addresses” in the UI. If you’ve got a verified destination you can use it account-wide and use the API to create routing rules for it seamlessly.
This is not my forte, but I believe you just have to create a routing rule for the custom email address: Cloudflare API Documentation
(From my non-developer pov, I’m thinking: all emails are getting to the Cloudflare. The routing rule simply says if the “to” field matches [email protected] then forward/drop/worker – which is exactly what those of us non-developers do in the dashboard.)