# Email Template Reference

A collection of default email templates that ship with FusionAuth.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

This page contains an overview of each email template that ships with FusionAuth.

## Retrieve Default Templates

You can use the Admin UI to version control or customize templates. If you would rather have the email templates as a collection of files, they live in [extractedcode/templates-email](https://github.com/FusionAuth/fusionauth-site/tree/main/astro/extractedcode/templates-email) in the docs repository. Browse that folder to see exactly what you are getting, or download every file in it at once:

```shell-session
$ npx degit FusionAuth/fusionauth-site/astro/extractedcode/templates-email templates-email
```

If you would rather not use Node, pull the same folder out of a repository tarball:

```shell-session
$ curl -L https://github.com/FusionAuth/fusionauth-site/archive/refs/heads/main.tar.gz \
  | tar -xz --strip-components=4 fusionauth-site-main/astro/extractedcode/templates-email
```

Either command writes the templates into a `templates-email` directory.

## Breached Password

```ftl
[#setting url_escaping_charset="UTF-8"]
<p>This password was found in the list of vulnerable passwords, and is no longer secure.</p>

<p>In order to secure your account, it is recommended to change your password at your earliest convenience.</p>

<p>Follow this link to change your password.</p>

[#assign url = "${baseUrl}/password/forgot?client_id=${(application.oauthConfiguration.clientId)!''}&email=${user.email?url}&tenantId=${user.tenantId}" /]
<a href="${url?html}">
  ${url?html}
</a>

- FusionAuth Admin
```

```ftl
[#setting url_escaping_charset="UTF-8"]
This password was found in the list of vulnerable passwords, and is no longer secure.

In order to secure your account, it is recommended to change your password at your earliest convenience.

Follow this link to change your password.

${baseUrl}/password/forgot?client_id=${(application.oauthConfiguration.clientId)!''}&email=${user.email?url}&tenantId=${user.tenantId}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.27.2

The Application object, see the Application API for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined.

`baseUrl`

*   String
*   Available since 1.68.0

The base URL used when rendering links in this template. FusionAuth resolves this value from the Application `baseURL`, then the Tenant `baseURL`, then a local development fallback URL.

`breachResult.loginIds`

The breach result matching loginIds. This is an array of zero or more email addresses or usernames found in the breach result matching this user. A length of zero means only the password was matched.

`breachResult.match`

*   String

The breach result match type determined by the FusionAuth Reactor. Possible values include:

*   `ExactMatch` The User's loginId and password were found exactly as entered.
*   `SubAddressMatch` The User's loginId and password were matched, but the email address was a sub-address match. For example, `joe+test@example.com` is a sub-address match for `joe@example.com`.
*   `PasswordOnly` Only the password found, the loginId and password combination were not matched.
*   `CommonPassword` The User's password was found to be one of the most commonly known breached passwords.

`tenant`

*   Tenant

The Tenant object, see the Tenant API for field definitions.

`user`

*   User

The User object, see the User API for field definitions.

## Confirm Child

```ftl
Your child has created an account with us and you need to confirm them before they are added to your family. Click the link below to confirm your child's account.
<p>
  <a href="http://example.com/family/confirm-child">http://example.com/family/confirm-child</a>
</p>
- FusionAuth Admin
```

```ftl
Your child has created an account with us and you need to confirm them before they are added to your family. Click the link below to confirm your child's account.

http://example.com/family/confirm-child

- FusionAuth Admin
```

### Replacement Variables

`child`

*   User

The child User object, see the User API for field definitions of a User.

`parent`

*   User

The parent User object, see the User API for field definitions of a User.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions.

`user`

The parent User object. This field has been deprecated, please use the `parent` object instead.

## COPPA Email Plus Notice

```ftl
A while ago, you granted your child consent in our system. This email is a second notice of this consent as required by law and also to remind to that you can revoke this consent at anytime on our website or by clicking the link below:
<p>
  <a href="http://example.com/consent/manage">http://example.com/consent/manage</a>
</p>
- FusionAuth Admin
```

```ftl
A while ago, you granted your child consent in our system. This email is a second notice of this consent as required by law and also to remind to that you can revoke this consent at anytime on our website or by clicking the link below:

http://example.com/consent/manage

- FusionAuth Admin
```

### Replacement Variables

`consent`

*   UserConsent

The User Consent object, see the Consent API for field definitions of a User consent.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

`user`

*   User

The User giving consent, see the User API for field definitions of a User.

## COPPA Notice

```ftl
You recently granted your child consent in our system. This email is to notify you of this consent. If you did not grant this consent or wish to revoke this consent, click the link below:
<p>
  <a href="http://example.com/consent/manage">http://example.com/consent/manage</a>
</p>
- FusionAuth Admin
```

```ftl
You recently granted your child consent in our system. This email is to notify you of this consent. If you did not grant this consent or wish to revoke this consent, click the link below:

http://example.com/consent/manage

- FusionAuth Admin
```

### Replacement Variables

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

`user`

*   User

The User giving consent, see the User API for field definitions of a User.

## Email Verification

```ftl
[#if user.verified]
Pro tip, your email has already been verified, but feel free to complete the verification process to verify your verification of your email address.
[/#if]

[#-- When a one-time code is provided, you will want the user to enter this value interactively using a form. In this workflow the verificationId
     is not shown to the user and instead the one-time code must be paired with the verificationId which is usually in a hidden form field. When the two
     values are presented together, the email address can be verified --]
[#if verificationOneTimeCode??]
<p>To complete your email verification enter this code into the email verification form.</p>
<p> ${verificationOneTimeCode} </p>
[#else]
To complete your email verification click on the following link.
<p>
  [#assign url = "${baseUrl}/email/verify/${verificationId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${tenant.id}" /]
  <a href="${url?html}">
    ${url?html}
  </a>
</p>
[/#if]

- FusionAuth Admin
```

```ftl
[#if user.verified]
Pro tip, your email has already been verified, but feel free to complete the verification process to verify your verification of your email address.
[/#if]

[#-- When a one-time code is provided, you will want the user to enter this value interactively using a form. In this workflow the verificationId
     is not shown to the user and instead the one-time code must be paired with the verificationId which is usually in a hidden form field. When the two
     values are presented together, the email address can be verified --]
[#if verificationOneTimeCode??]
To complete your email verification enter this code into the email verification form.

${verificationOneTimeCode}
[#else]
To complete your email verification click on the following link.

${baseUrl}/email/verify/${verificationId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${tenant.id}
[/#if]

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.21.0

The Application object, see the Application API for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined.

`baseUrl`

*   String
*   Available since 1.68.0

The base URL used when rendering links in this template. FusionAuth resolves this value from the Application `baseURL`, then the Tenant `baseURL`, then a local development fallback URL.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

`user`

*   User

The User object, see the User API for field definitions of a User.

`verificationId`

*   String

The verification Id intended to be used by the [Verify Email](https://fusionauth.io/docs/apis/users/verify-email.md) API.

`verificationOneTimeCode`

*   String

The verification One Time Code (OTP) to be used with the gated Email Verification workflow. The user enters this code to verify their email.

## Forgot Password

This is also known as the Change Password template.

```ftl
[#setting url_escaping_charset="UTF-8"]
To change your password click on the following link.
<p>
  [#-- The optional 'state' map provided on the Forgot Password API call is exposed in the template as 'state'.
       If we have an application context, append the client_id to ensure the correct application theme when applicable.
  --]
  [#assign url = "${baseUrl}/password/change/${changePasswordId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}" /]
  [#list state!{} as key, value][#if key != "tenantId" && key != "client_id" && value??][#assign url = url + "&" + key?url + "=" + value?url/][/#if][/#list]
  <a href="${url?html}">${url?html}</a>
</p>
- FusionAuth Admin
```

```ftl
[#setting url_escaping_charset="UTF-8"]
To change your password click on the following link.

  [#-- The optional 'state' map provided on the Forgot Password API call is exposed in the template as 'state'.
       If we have an application context, append the client_id to ensure the correct application theme when applicable.
  --]
[#assign url = "${baseUrl}/password/change/${changePasswordId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}" /]
[#list state!{} as key, value][#if key != "tenantId" && key != "client_id" && value??][#assign url = url + "&" + key?url + "=" + value?url/][/#if][/#list]

${url}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.21.0

The Application object, see the Application API for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined.

`baseUrl`

*   String
*   Available since 1.68.0

The base URL used when rendering links in this template. FusionAuth resolves this value from the Application `baseURL`, then the Tenant `baseURL`, then a local development fallback URL.

`changePasswordId`

*   String

The change password Id intended to be used by the [Change a User's Password](https://fusionauth.io/docs/apis/users/change-password.md) API.

`state`

*   Object

If the `state` was provided during the Forgot Password request, it will be available to you in the email template.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions.

`user`

*   User

The User object, see the User API for field definitions of a User.

## Parent Registration Request

```ftl
Your child has created an account with us and needs you to create an account and verify them. You can sign up using the link below:
<p>
  <a href="http://example.com/family/confirm-child">http://example.com/family/confirm-child</a>
</p>
- FusionAuth Admin
```

```ftl
Your child has created an account with us and needs you to create an account and verify them. You can sign up using the link below:

http://example.com/family/confirm-child

- FusionAuth Admin
```

### Replacement Variables

`child`

*   User

The child User object, see the User API for field definitions of a User.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

## Passwordless Login

```ftl
[#setting url_escaping_charset="UTF-8"]
You have requested to log into FusionAuth using this email address. If you do not recognize this request please ignore this email.

[#if oneTimeCode??]
<p>
  Login code: ${oneTimeCode}
</p>
[#else]
<p>
  [#-- The optional 'state' map provided on the Start Passwordless API call is exposed in the template as 'state' --]
  [#assign url = "${baseUrl}/oauth2/passwordless/${code}?tenantId=${user.tenantId}" /]
  [#list state!{} as key, value][#if key != "tenantId" && value??][#assign url = url + "&" + key?url + "=" + value?url/][/#if][/#list]
  <a href="${url?html}">${url?html}</a>
</p>
[/#if]
- FusionAuth Admin
```

```ftl
[#setting url_escaping_charset="UTF-8"]
You have requested to log into FusionAuth using this email address. If you do not recognize this request please ignore this email.

[#if oneTimeCode??]
<p>
  Login code: ${oneTimeCode}
</p>
[#else]
[#-- The optional 'state' map provided on the Start Passwordless API call is exposed in the template as 'state' --]
[#assign url = "${baseUrl}/oauth2/passwordless/${code}?tenantId=${user.tenantId}" /]
[#list state!{} as key, value][#if key != "tenantId" && value??][#assign url = url + "&" + key?url + "=" + value?url/][/#if][/#list]

${url}

[/#if]
- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.21.0

The Application object, see the Application API for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined.

`baseUrl`

*   String
*   Available since 1.68.0

The base URL used when rendering links in this template. FusionAuth resolves this value from the Application `baseURL`, then the Tenant `baseURL`, then a local development fallback URL.

`code`

*   String

The unique code intended to be used by the [Complete a Passwordless Login](https://fusionauth.io/docs/apis/passwordless/complete-a-passwordless-login.md) API.

`state`

*   Object

If the `state` was provided when the Passwordless request was initiated, it will be available to you in the email template.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

`user`

*   User

The User object, see the User API for field definitions of a User.

## Registration Verification

```ftl
[#if registration.verified]
Pro tip, your registration has already been verified, but feel free to complete the verification process to verify your verification of your registration.
[/#if]

[#-- When a one-time code is provided, you will want the user to enter this value interactively using a form. In this workflow the verificationId
     is not shown to the user and instead the one-time code must be paired with the verificationId which is usually in a hidden form field. When the two
     values are presented together, the registration can be verified --]
[#if verificationOneTimeCode??]
<p>To complete your registration verification enter this code into the registration verification form.</p>
<p> ${verificationOneTimeCode} </p>
[#else]
To complete your registration verification click on the following link.
<p>
  [#assign url = "${baseUrl}/registration/verify/${verificationId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}" /]
  <a href="${url?html}">
    ${url?html}
  </a>
</p>
[/#if]

- FusionAuth Admin
```

```ftl
[#if registration.verified]
Pro tip, your registration has already been verified, but feel free to complete the verification process to verify your verification of your registration.
[/#if]

[#-- When a one-time code is provided, you will want the user to enter this value interactively using a form. In this workflow the verificationId
     is not shown to the user and instead the one-time code must be paired with the verificationId which is usually in a hidden form field. When the two
     values are presented together, the registration can be verified --]
[#if verificationOneTimeCode??]
To complete your registration verification enter this code into the registration verification form.

${verificationOneTimeCode}
[#else]
To complete your registration verification click on the following link.

${baseUrl}/registration/verify/${verificationId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}
[/#if]

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.21.0

The Application object, see the Application API for field definitions.

`baseUrl`

*   String
*   Available since 1.68.0

The base URL used when rendering links in this template. FusionAuth resolves this value from the Application `baseURL`, then the Tenant `baseURL`, then a local development fallback URL.

`registration`

The User Registration object, see the Registration API for field definitions of a User.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

`user`

*   User

The User object, see the User API for field definitions of a User.

`verificationId`

*   String

The verification Id intended to be used by the [Verify a User Registration](https://fusionauth.io/docs/apis/registrations/verify-a-user-registration.md) API.

`verificationOneTimeCode`

*   String

The verification One Time Code to be used with the Gated Registration workflow. The user enters this code to verify their email.

## Set Up Password

```ftl
Your account has been created and you must set up a password. Click on the following link to set up your password.
<p>
  [#assign url = "${baseUrl}/password/change/${changePasswordId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}" /]
  <a href="${url?html}">
    ${url?html}
  </a>
</p>
- FusionAuth Admin
```

```ftl
Your account has been created and you must set up a password. Click on the following link to set up your password.

${baseUrl}/password/change/${changePasswordId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.21.0

The Application object, see the Application API for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined.

`baseUrl`

*   String
*   Available since 1.68.0

The base URL used when rendering links in this template. FusionAuth resolves this value from the Application `baseURL`, then the Tenant `baseURL`, then a local development fallback URL.

`changePasswordId`

*   String

The change password Id intended to be used by the [Change a User's Password](https://fusionauth.io/docs/apis/users/change-password.md) API.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the Tenant API for field definitions of a Tenant.

`user`

*   User

The User object, see the User API for field definitions of a User.

## Threat Detected

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/get-started/core-concepts/plans-features.md#enterprise-features).

```ftl
[#-- @ftlvariable name="event" type="io.fusionauth.domain.event.UserLoginSuspiciousEvent" --]
[#setting url_escaping_charset="UTF-8"]
[#if event.type == "UserLoginSuspicious"]
  <p>A suspicious login was made on your account. If this was you, you can safely ignore this email. If this wasn't you, we recommend that you change your password as soon as possible.</p>
[#elseif event.type == "UserLoginNewDevice"]
  <p>A login from a new device was detected on your account. If this was you, you can safely ignore this email. If this wasn't you, we recommend that you change your password as soon as possible.</p>
[#else]
  <p>Suspicious activity has been observed on your account. In order to secure your account, it is recommended to change your password at your earliest convenience.</p>
[/#if]

<p>Device details</p>
<ul>
  <li><strong>Device name:</strong> ${(event.info.deviceName)!'&mdash;'}</li>
  <li><strong>Device description:</strong> ${(event.info.deviceDescription)!'&mdash;'}</li>
  <li><strong>Device type:</strong> ${(event.info.deviceType)!'&mdash;'}</li>
  <li><strong>User agent:</strong> ${(event.info.userAgent)!'&mdash;'}</li>
</ul>

<p>Event details</p>
<ul>
  <li><strong>IP address:</strong> ${(event.info.ipAddress)!'&mdash;'}</li>
  <li><strong>City:</strong> ${(event.info.location.city)!'&mdash;'}</li>
  <li><strong>Country:</strong> ${(event.info.location.country)!'&mdash;'}</li>
  <li><strong>Zipcode:</strong> ${(event.info.location.zipcode)!'&mdash;'}</li>
  <li><strong>Lat/long:</strong> ${(event.info.location.latitude)!'&mdash;'}/${(event.info.location.longitude)!'&mdash;'}</li>
</ul>

- FusionAuth Admin
```

```ftl
[#setting url_escaping_charset="UTF-8"]
[#if event.type == "UserLoginSuspicious"]
A suspicious login was made on your account. If this was you, you can safely ignore this email. If this wasn't you, we recommend that you change your password as soon as possible.
[#elseif event.type == "UserLoginNewDevice"]
A login from a new device was detected on your account. If this was you, you can safely ignore this email. If this wasn't you, we recommend that you change your password as soon as possible.
[#else]
Suspicious activity has been observed on your account. In order to secure your account, it is recommended to change your password at your earliest convenience.
[/#if]

Device details

* Device name: ${(event.info.deviceName)!'&mdash;'}
* Device description: ${(event.info.deviceDescription)!'&mdash;'}
* Device type: ${(event.info.deviceType)!'&mdash;'}
* User agent: ${(event.info.userAgent)!'&mdash;'}

Event details

* IP address: ${(event.info.ipAddress)!'-'}
* City: ${(event.info.location.city)!'-'}
* Country: ${(event.info.location.country)!'-'}
* Zipcode: ${(event.info.location.zipcode)!'-'}
* Lat/long: ${(event.info.location.latitude)!'-'}/${(event.info.location.longitude)!'-'}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.28.0

The Application object, see the [Application API](https://fusionauth.io/docs/apis/applications.md) for field definitions.

`event.info`

*   EventInfo

The EventInfo object, see the [User Login Suspicious](https://fusionauth.io/docs/extend/events-and-webhooks/events/user/login/user-login-suspicious.md) event definition for example field definitions.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the [Tenant API](https://fusionauth.io/docs/apis/tenants.md) for field definitions.

`user`

*   User

The User object, see the [User API](https://fusionauth.io/docs/apis/users.md) for field definitions of a User.

## Two-Factor Authentication

```ftl
<p>
  To complete your login request, enter this one-time code code on the login form when prompted.
</p>
<p>
  <strong>${code}</strong>
</p>

- FusionAuth Admin
```

```ftl
To complete your login request, enter this one-time code code on the login form when prompted.

${code}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.46.0

The Application object, see the [Application API](https://fusionauth.io/docs/apis/applications.md) for field definitions.

This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined. You can check for this variable safely in FreeMarker using the missing value test operator and an `if` statement:

```ftl
[#if application??]
[#-- Use application here --]
[/#if]
```

This object is not available on the email template when:

*   The multi-factor workflow was [started](https://fusionauth.io/docs/apis/two-factor/start-multi-factor.md) without providing the `applicationId` on that request.
*   Multi-factor authentication is required during a call to the [login API](https://fusionauth.io/docs/apis/login/authenticate.md) without providing the `applicationId` parameter. That documentation points out that there is likely no production use case where calling the API without the `applicationId` parameter is useful.
*   The message is being sent to [enable](https://fusionauth.io/docs/apis/two-factor/send-a-multi-factor-code-when-enabling-mfa.md) or [disable](https://fusionauth.io/docs/apis/two-factor/send-a-multi-factor-code-when-disabling-mfa.md) a multi-factor method without providing the `applicationId` on the request.

`code`

*   String

A code that the user must provide to complete multi-factor authentication.

`tenant`

*   Tenant
*   Available since 1.18.2

The Tenant object, see the [Tenant API](https://fusionauth.io/docs/apis/tenants.md) for field definitions.

`user`

*   User

The User object, see the [User API](https://fusionauth.io/docs/apis/users.md) for field definitions of a User.

## Two-Factor Authentication Method Added

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/get-started/core-concepts/plans-features.md#enterprise-features).

```ftl
<p>
 The following two factor method was added to ${user.email}:

  <br>
  <strong>Method: ${method.method}</strong>
  <br>
  <strong>Identifier: ${method.id}</strong>

</p>

- FusionAuth Admin
```

```ftl
The following two factor method was added to ${user.email}:

- Method: ${method.method}
- Identifier: ${method.id}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application
*   Available since 1.28.0

The Application object, see the [Application API](https://fusionauth.io/docs/apis/applications.md) for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined. You can check for this variable safely in freemarker by wrapping the variable as such: `${(application)!""}`.

`event`

*   Event

The Event object for a two-factor add event. See the [Webhooks & Events section](https://fusionauth.io/docs/extend/events-and-webhooks/events/user/user-two-factor-method-add.md) for field definitions.

`method`

*   Object

The two-factor method that was added. See the [Multi-Factor/Two-Factor APIs](https://fusionauth.io/docs/apis/two-factor.md) for property definitions and example JSON.

`tenant`

*   Tenant

The Tenant object, see the [Tenant API](https://fusionauth.io/docs/apis/tenants.md) for field definitions.

`user`

*   User

The User object, see the [User API](https://fusionauth.io/docs/apis/users.md) for field definitions of a User.

## Two-Factor Authentication Method Removed

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/get-started/core-concepts/plans-features.md#enterprise-features).

```ftl
<p>
 The following two factor method was removed from ${user.email}:

  <br>
  <strong>Method: ${method.method}</strong>
  <br>
  <strong>Identifier: ${method.id}</strong>

</p>

- FusionAuth Admin
```

```ftl
The following two factor method was removed from ${user.email}:

- Method: ${method.method}
- Identifier: ${method.id}

- FusionAuth Admin
```

### Replacement Variables

`application`

*   Application

The Application object, see the [Application API](https://fusionauth.io/docs/apis/applications.md) for field definitions.

*Note*: This object may not be available depending upon when this template is constructed. If you utilize this object in your template, ensure you first check to see if it is defined. You can check for this variable safely in freemarker by wrapping the variable as such: `${(application)!""}`.

`event`

*   Event

The Event object for a two-factor remove event. See the [Webhooks & Events section](https://fusionauth.io/docs/extend/events-and-webhooks/events/user/user-two-factor-method-remove.md) for field definitions.

`method`

*   Object

The two-factor method that was removed. See the [Multi-Factor/Two-Factor APIs](https://fusionauth.io/docs/apis/two-factor.md) for property definitions and example JSON.

`tenant`

*   Tenant

The Tenant object, see the [Tenant API](https://fusionauth.io/docs/apis/tenants.md) for field definitions.

`user`

*   User

The User object, see the [User API](https://fusionauth.io/docs/apis/users.md) for field definitions of a User.

## Admin Two-Factor Authentication Method Removed

```ftl
<p>
  Your ${(method.method == "sms")?then("SMS", method.method)} two-factor authentication method[#if method.name?has_content], ${method.name},[/#if] was removed from ${user.email} by your administrator. Contact your administrator if you have questions.
</p>
```

```ftl
Your ${(method.method == "sms")?then("SMS", method.method)} two-factor authentication method[#if method.name?has_content], ${method.name},[/#if] was removed from ${user.email} by your administrator. Contact your administrator if you have questions.
```

### Replacement Variables

`method`

*   Object
*   Available since 1.68.0

The two-factor method that was removed by an administrator. See the [User API](https://fusionauth.io/docs/apis/users.md) under `user.twoFactor.methods` for property definitions and example JSON.

`tenant`

*   Tenant
*   Available since 1.68.0

The Tenant object, see the [Tenant API](https://fusionauth.io/docs/apis/tenants.md) for field definitions.

`user`

*   User
*   Available since 1.68.0

The User object, see the [User API](https://fusionauth.io/docs/apis/users.md) for field definitions of a User.

Related

[Email Create an Email Template Learn how to write and manage email templates. freemarkeremail branding](https://fusionauth.io/docs/email/email-templates.md)

[Messengers Message Template Reference A list of default message templates. replacement variablesfreemarker](https://fusionauth.io/docs/messengers/template-reference.md)

[APIs Create an Email Template API API documentation for the FusionAuth Create an Email Template API. freemarker](https://fusionauth.io/docs/apis/emails/create-an-email-template.md)

[APIs Email API Learn about the APIs for creating, retrieving, updating and deleting email templates as well as sending emails to users. freemarker](https://fusionauth.io/docs/apis/emails.md)
---

## Other pages in Email

> For the full index of this section, see [Email](https://fusionauth.io/docs/llms-email.txt).

- [Configure SMTP](https://fusionauth.io/docs/email/configure-email.md): Learn how to enable and configure the SMTP server.
- [Application-Specific Email Templates](https://fusionauth.io/docs/email/configuring-application-specific-email-templates.md): Learn how to override email templates with application specific email templates.
- [Create an Email Template](https://fusionauth.io/docs/email/email-templates.md): Learn how to write and manage email templates.
