Hey Karl,
I made a workaround shortly after my last reply back in October, not sure if it can be applied to your solution but in short I:
- Disabled outgoing email from Auth0 for sign up and email verification
- Added event listeners in my C# .NET Core solution where relevant, like sign up
- Set up SmtpClient service to handle outgoing emails
- In the sign up flow, I let auth0 generate the user and insert to my DB
- My event listener gets notified afterwards, does some post-processing and retrieves the relevant user access token through auth0.com/oauth/token
- I use that access token to request an email confirmation url from auth0.com/api/v2/tickets/email-verification
- I finish processing the sign up flow and use my own SmtpClient to send the verification email to the user, containing the confirm email URL
Ever since I implemented this workaround, all of my users have been receiving the confirmation emails (and other relevant emails) have gone directly into their Inbox as expected, and all emails are received now - unlike when I used the Auth0 SMTP setup.
Hope it helps, I wrote it at the top of my head, if you would like further details let me know and I’ll look into it again.
Best,
Nikolaj