In my Auth0 application, I have defined two roles:
- Client
- Coach
Is there a way to be able to send verification email only for Coach
role and not for Client
?
I have already checked email verification job, and it seems to be working only when the verification email template is enabled.
However, enabling the verification email template results in emails being sent to all new sign-ups, regardless of their assigned role. Despite consulting various Auth0 documentation and community resources, I have not found a suitable solution.
I am seeking a solution to selectively send verification emails based on the user's role.