Auth0 Home Blog Docs

Try to use user.name in the templates emails (Subject and body)


#1

Try to add the user.name/user.given_name/user.family_name in the templates emails.
Both {{ user.name }} @@user.name@@ and another combination of the mentioned above just not appearing on the email.

Can someone direct me a bit


#2

Which template are you trying to use it in? I’ve successfully used user.name in a few templates, but for instance the Passwordless template doesn’t support that user data.


#4

Hey @idan1!

Have you visited our doc on customising your emails with proper HTML + Liquid syntax?

Here’s the reference point:

As @thijmen96 mentioned support for certain syntax variable may vary through templates.

Let me know if that helps!


#5

Hey @idan1! Have you managed to achieve what you intended using HTML + Liquid syntax that I suggested?