# Test email code for passwordless flow is significantly delayed

**URL:** <https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875>\
**Category:** Get Help\
**Tags:** email, code, passwordless\
**Created:** [June 2, 2017, 3:45am UTC](https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875 "2017-06-02T03:45:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinvlad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dinvlad/32/6268_2.png) [@dinvlad](https://community.auth0.com/u/dinvlad)\
**Post date:** [June 2, 2017, 3:45am UTC](https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875/1 "2017-06-02T03:45:46Z")

</div>

Hi Team, I’m testing a SPA with passwordless Lock, and today I’ve noticed that the email code (set up with the Auth0 test provider) experiences significant delays. I.e. I received the codes 2-3 hours after I’ve tried to sign in with email. Is there anything besides configuring a custom provider that can be done? I don’t yet need high throughput, again only using this for testing for now. Thanks

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [June 2, 2017, 6:18am UTC](https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875/2 "2017-06-02T06:18:19Z")

</div>

The default Auth0 email provider is not recommended to be used in a production environment. In saying that, we cannot provide any guarantees of performance with our test email provider - if you are facing issues with the default provider, **it is highly recommended to [use a custom provider](https://auth0.com/docs/email/providers)**.

As a test, it would be worth trying to send the email codes to different email addresses with different providers, to determine whether the issue occurs for all emails.

---

<div class="post-metadata">

**Author:** ![dinvlad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dinvlad/32/6268_2.png) [@dinvlad](https://community.auth0.com/u/dinvlad)\
**Post date:** [June 2, 2017, 6:58am UTC](https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875/3 "2017-06-02T06:58:51Z")

</div>

Thanks @prashant,

Fully understood. I’ve been planning to set up a custom provider (SES) so seems like a good way to go.

---

<div class="post-metadata">

**Author:** ![dinvlad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dinvlad/32/6268_2.png) [@dinvlad](https://community.auth0.com/u/dinvlad)\
**Post date:** [June 2, 2017, 6:58am UTC](https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875/4 "2017-06-02T06:58:51Z")

</div>

Thanks @prashant,

Fully understood. I’ve been planning to set up a custom provider (SES) so seems like a good way to go.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/test-email-code-for-passwordless-flow-is-significantly-delayed/6875/5 "2018-03-02T05:54:20Z")

</div>


