# Accessing user data in passwordless email template

**URL:** <https://community.auth0.com/t/accessing-user-data-in-passwordless-email-template/18926>\
**Category:** Get Help\
**Created:** [December 10, 2018, 11:03pm UTC](https://community.auth0.com/t/accessing-user-data-in-passwordless-email-template/18926 "2018-12-10T23:03:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan\_b](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dan\_b](https://community.auth0.com/u/dan_b)\
**Post date:** [December 10, 2018, 11:03pm UTC](https://community.auth0.com/t/accessing-user-data-in-passwordless-email-template/18926/1 "2018-12-10T23:03:28Z")

</div>

I’m attempting to access user data fields in the passwordless email template. In the `send == 'link'` email, I’m trying to access user fields (i.e. `{{ name}}` , `{{user.name}}`, `{{user.meta_data.first_name}}` etc). I’ve confirmed that these values are set on the user however, those values are not ouput in the email. Do passwordless email templates have access to these properties?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [December 10, 2018, 11:25pm UTC](https://community.auth0.com/t/accessing-user-data-in-passwordless-email-template/18926/2 "2018-12-10T23:25:22Z")

</div>

You are supposed to be able to use [liquid](https://auth0.com/docs/email/templates#html-liquid-syntax) syntax to access those attributes, though I haven’t tried it myself.

---

<div class="post-metadata">

**Author:** ![thijmen96](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thijmen96/32/20356_2.png) [@thijmen96](https://community.auth0.com/u/thijmen96)\
**Post date:** [December 10, 2018, 11:33pm UTC](https://community.auth0.com/t/accessing-user-data-in-passwordless-email-template/18926/3 "2018-12-10T23:33:49Z")

</div>

Passwordless emails only have access to a very limited set of variables. Things like `user.name` are not available. The only thing you do have is `user.email`, but seeing that as a greeting in an email always looks a bit scammy to me.

The full list of variables is at [Passwordless Authentication with Email](https://auth0.com/docs/connections/passwordless/email#multi-language-support).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 28, 2019, 2:35pm UTC](https://community.auth0.com/t/accessing-user-data-in-passwordless-email-template/18926/4 "2019-08-28T14:35:37Z")

</div>

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