Hi HN,
I've been working on a project where I need to programmatically create and manage email addresses under my own domain for each user onboarded. I currently use Resend for sending emails (e.g., welcome emails), and my domain's DNS is managed on Cloudflare. However, Resend doesn't seem to support programmatically creating email addresses.
My goal is to programatically create emails, monitor email and parse them to LLM etc
I've done some research and considered setting up a custom SMTP server to handle this. Has anyone here implemented a similar system? What are the best practices for setting up a custom SMTP server for this purpose? Any recommendations on tools or libraries to make this easier?
I'm looking for advice on the best way forward. Appreciate any insights!
https://www.mailgun.com/products/send/inbound-routing/