Variables in blocked email

Is there any way to determine what variables are available in the blocked email template? The documentation doesn’t describe the “user.city” or “user.country” variables which are used by the default template. Are there other geo variables, such as state?

Hi @richinst,

Thanks for reaching out to the Auth0 Community!

I understand you are looking for the list of variables available in email templates, specifically with the Blocked Account email template.

The available variables you can use in the message body in these emails templates include the Common variables listed here plus the variables defined in each template.

In this case, the blocked account email template includes the user.city, user.country, and user.source_ip variables.

This information can also be found described in our Customize Email Template - Message Body documentation.

Please let me know if you have any additional questions.

Thanks,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.