# Can't find code for custom email template

**URL:** <https://community.auth0.com/t/cant-find-code-for-custom-email-template/131841>\
**Category:** Get Help\
**Tags:** email-templates-branding, branding\
**Created:** [April 12, 2024, 12:19am UTC](https://community.auth0.com/t/cant-find-code-for-custom-email-template/131841 "2024-04-12T00:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [April 15, 2024, 10:21am UTC](https://community.auth0.com/t/cant-find-code-for-custom-email-template/131841/5 "2024-04-15T10:21:40Z")

</div>

Thanks for the context @kevin21 !

> [@kevin21](#):
>
> We have a custom email provider (SMTP using Amazon SES) but there are no templates or anything in there, just the smtp settings/credentials.

That’s a good clue - with a custom email provider configured, there is an option to customize email templates, also using a liquid syntax via our Management API (a liquid syntax allows using [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables) to send email templates in the context of a specific user / application / etc.)

> [@kevin21](#):
>
> A few years ago we used Sendgrid to design our email, and then copy/pasted the HTML into Auth0 (or at least that’s where I think it went).

Alright! If you can’t localize this template code in the Auth0 dashboard → Branding → [Choose a specific template] → Message window, let’s please try fetching all customized email templates via the Management API: [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/email-templates/get-email-templates-by-template-name)

PS: You should get 404 if a specific email template has not been customized.

PS2: [Different email template after enabling custom email provider - #4 by lihua.zhang](https://community.auth0.com/t/different-email-template-after-enabling-custom-email-provider/85532/4)

Please let us know if the Management API has returned the specific template code, otherwise, we will be looking into it further! 🙂

---

_[View the full topic](https://community.auth0.com/t/cant-find-code-for-custom-email-template/131841)._
