Auth0 Home Blog Docs

Attributes not available in email template for users from custom database

auth0
change-password
custom-database
email
email-template

#1

Background: We are using a custom database to perform automatic user migration.

It is specified here that user_metadata should be available when using html + liquid syntax email templating for the Change Password email. However, I’ve found that this is only the case for users who have been stored in auth0’s database (i.e. who have been migrated from our custom database to auth0). For non-migrated users we only have access to user.email.

I have confirmed that the getByEmail script is returning the desired values. Given the fact that this script returns a user profile, I would expect it to be available to us in the email templates.

Am I missing something here, or is this a bug/oversight?