# Customized Verification Email (using code) template sent with default layout

**URL:** <https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515>\
**Category:** Get Help\
**Tags:** email-template, passwordless\
**Created:** [February 2, 2022, 5:51pm UTC](https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515 "2022-02-02T17:51:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![giovannilaperna](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/giovannilaperna/32/34414_2.png) [@giovannilaperna](https://community.auth0.com/u/giovannilaperna)\
**Post date:** [February 2, 2022, 5:51pm UTC](https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515/1 "2022-02-02T17:51:25Z")

</div>

I enabled passwordless connection with email code.

I customize the Verification Email (using code) template (following the Multilingual email templates guide).

When I send the test email from the dashboard it renders with my layout.

However when I login using the passwordless connection with email code, an email with the default layout is sent.

Both html changes and `user.user_metadata.lang` are ignored.

What can be the issue?

---

<div class="post-metadata">

**Author:** ![giovannilaperna](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/giovannilaperna/32/34414_2.png) [@giovannilaperna](https://community.auth0.com/u/giovannilaperna)\
**Post date:** [February 10, 2022, 7:02am UTC](https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515/2 "2022-02-10T07:02:13Z")

</div>

Can you help me with this?

This is my Verification Email (using code) template:

 ![Screenshot 2022-02-10 at 8.52.56](https://global.discourse-cdn.com/auth0/original/3X/0/7/07840ff6c497f39217f9f38ec3ddafc864e1df72.png)

This is the email I receive when I test the template using the Try button:

 ![Screenshot 2022-02-10 at 8.55.38](https://global.discourse-cdn.com/auth0/original/3X/a/e/aec5fd73b54641d759a7444e0086e2e8e388769c.png)

This is the email I receive when I login using a test user (the default template):

 ![Screenshot 2022-02-10 at 8.58.00](https://global.discourse-cdn.com/auth0/original/3X/d/7/d7d4910e09770df53c774ffe3b6c93ede4b8ff2e.png)

This is the user\_metadata section of the user details:  
 ![Screenshot 2022-02-10 at 8.58.54](https://global.discourse-cdn.com/auth0/original/3X/6/b/6b2ac8c9aff764013067c0f8292c31e9a21596d4.png)

I have configured an email provider with smtp.

The Liquid template is not applied at all.

Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![giovannilaperna](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/giovannilaperna/32/34414_2.png) [@giovannilaperna](https://community.auth0.com/u/giovannilaperna)\
**Post date:** [February 10, 2022, 8:05am UTC](https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515/3 "2022-02-10T08:05:33Z")

</div>

I found a workaround.

I had to disable the Passwordless Connections Email and re-enable it and define the template from there because the Verification Email (using code) template under Branding is completely ignored.

 ![Screenshot 2022-02-10 at 10.02.45](https://global.discourse-cdn.com/auth0/original/3X/2/0/2078484f16bf6d7f2b576511d0f8f73773df1871.png)

This looks like a bug.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 10, 2022, 11:03am UTC](https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515/4 "2022-02-10T11:03:30Z")

</div>

Thanks for sharing it with the rest of community! I’m gonna share it with appropriate team!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 22, 2022, 2:48pm UTC](https://community.auth0.com/t/customized-verification-email-using-code-template-sent-with-default-layout/77515/5 "2022-02-22T14:48:51Z")

</div>


