Authentication code emails (passwordless connection) are delayed

Hello!

I am using a passwordless connection in my application and I send the authentication code to the users by email.
For that, I connected my Mandrill SMTP server to Auth0 using the Email Provider feature.

It works well but I have a very annoying issue:
On the first connection or a new connection after a long time, the authentication code email will have a delay of 4 minutes.

I took a look at the issue and saw that this is a delay imposed by Google or else when they don’t trust the mail sender.
I improved my domain reputation in order to improve that trust.

I don’t have this problem anymore when using directly the Mandrill API directly (in order to send other mails through my app) but I still have this issue with the Auth0 related emails.

Does someone has an idea of why it is working fine with the Mandrill API but not with the Auth0 related emails? Or a solution directly?

Thanks in advance!

Loïc

Hi @loic.vincent.genod,

Welcome to the Auth0 Community!

I recommend checking these two Knowledge Solutions, which explain the delay, with solutions, in emails:

Currently, the Auth0 provider is experiencing delays. The built-in email provider is not meant to be used in production, as it is for testing purposes only. For production implementation you have to implement your own email provider:

We do have documentation on how to setup your own email provider.


Let me know if you have any follow up questions.

Thanks,
Timotei