Auth0 Home Blog Docs

How to add custom headers to emails?

Is it possible to add custom message headers to email sent by Auth0 using our configured SMTP provider?

I’m not seeing anything in the SMTP provider configuration, or in the email templates section either…

Thanks

1 Like

I’m afraid the answer is no. However I’m interested to know which headers you require and what problem you are trying to solve. Maybe there is another alternative?

Our email provider support “marketing” and “transactional” emails from being sent, and allow our users to opt-out of marketing email while still getting the transactional ones. By default emails are considered to be marketing and we need to include a custom header to mark it as transactional.

Without that, users don’t get any email coming from auth0… Workaround is to implement anything that uses email ourself (email verification, password reset, etc.), but this reduce the value we get from Auth0, so not good for you :wink: