# Blocked users are not getting emails

**URL:** <https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291>\
**Category:** Get Help\
**Created:** [April 24, 2022, 8:06pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291 "2022-04-24T20:06:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivam.jain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shivam.jain/32/33837_2.png) [@shivam.jain](https://community.auth0.com/u/shivam.jain)\
**Post date:** [April 24, 2022, 8:06pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/1 "2022-04-24T20:06:54Z")

</div>

We are following lazy migration approach for a project, and sometimes users who exists in our db, but not on Auth0, are blocked by brute force protection.  
They see a message that they will receive an unblock email, but they do not receive one.

Is this the expected behaviour? The email works fine for users who are migrated to Auth0.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 25, 2022, 10:46pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/3 "2022-04-25T22:46:28Z")

</div>

Hi @shivam.jain,

Thanks for reaching out to the Auth0 Community!

You will need to enable the **Send notifications to the affected users** feature in your Brute Force Protection settings on the Auth0 Dashboard.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/0/3/0384c57ace894a975b25081814af067543b406dc.png)

Once that is complete, your users will get an email to unblock themselves.

See [Brute-Force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) for more details.

Hoped this helps!

Please let me know if you have any further questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![shivam.jain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shivam.jain/32/33837_2.png) [@shivam.jain](https://community.auth0.com/u/shivam.jain)\
**Post date:** [April 26, 2022, 8:17am UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/4 "2022-04-26T08:17:16Z")

</div>

Hi @rueben.tiow, thanks for you reply.  
We have already turned on the flag, and users who are migrated to Auth0 are receiving the email.  
My question is about users who are yet to be migrated to Auth0.  
They exist on my application, but after 5 incorrect attempts, they are blocked on Auth0 and Auth0 doesn;t send them an email. Is this expected?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 3, 2022, 4:19pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/5 "2022-05-03T16:19:19Z")

</div>

Hi @shivam.jain,

Thank you for your response.

> [@shivam.jain](#):
>
> They exist on my application, but after 5 incorrect attempts, they are blocked on Auth0 and Auth0 doesn;t send them an email. Is this expected?

AFAIK, the user can only be blocked if they exist in the Auth0 database. You mentioned that the user is blocked on Auth0, could you please clarify if you see the blocked user profile in your list of users?

Moreover, the user can unblock themselves by performing a Password Reset.

I am looking forward to your reply.

Thanks.

---

<div class="post-metadata">

**Author:** ![shivam.jain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shivam.jain/32/33837_2.png) [@shivam.jain](https://community.auth0.com/u/shivam.jain)\
**Post date:** [May 6, 2022, 5:23pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/6 "2022-05-06T17:23:08Z")

</div>

Hi @rueben.tiow, we are following lazy migration, and there are users who exists in our database, but not migrated to Auth0 yet. So if a unmigrated user tries to login, and attempts 5 incorrect attempts, they are blocked on Auth0, but since they are not migrated yet, they dont receive an email.

Hope that clears your question.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [June 15, 2022, 9:16pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/7 "2022-06-15T21:16:58Z")

</div>

Hi @shivam.jain,

Thank you for your response and clarification.

Firstly, I noticed you mentioned that the user gets blocked after 5 incorrect login attempts. However, by default, the Brute Force Protection login threshold setting is set to 10. I’m guessing there was a time where you changed the login threshold and set it to 5.

Given that, could you please double-check that you have enabled the **Send notifications to the affected users** switch?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/5/c5d70cd98569e10f13b8d4f78dbea2b3a031188d.png)

After enabling this switch, your blocked users can unblock themselves through the unblocking email.

Please let me know how this goes for you.

Thank you.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 21, 2022, 5:16pm UTC](https://community.auth0.com/t/blocked-users-are-not-getting-emails/82291/9 "2022-12-21T17:16:35Z")

</div>


