How to send verification email if un-verified login attempted?

Hi @mkstowe,

Welcome to the Auth0 Community!

I understand you are looking to send a verification email to unverified users whenever they log in.

Firstly, your current approach of using a Post-Login Action is the correct way to resend a verification email to unverified users.

In this situation, I recommend using the Management API in Actions to call the sendEmailVerification() method to send a verification email.

Please review the following documentation on using the Management API Actions

Here are the references to the Verification Email Job:

I hope this helps!

Please let me know if you have any questions or need help with implementation.

Thank you.

2 Likes