# Login Id Duplicate on Update Email Template

Learn when FusionAuth sends the email that tells a user another account tried to take their login Id, and which variables the template receives.

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

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

FusionAuth sends this email when a user tries to change an email address, username, or phone number to a value that already belongs to another user. The email goes to the existing account in **`event.existing`**, not to **`user`**. Don't put details about **`user`** in the email, because the recipient doesn't own that account. Assign the template in **Login Id duplicate on update** on the Tenants -> Your Tenant -> Identities tab. To override the template for one Application, set the template on the Applications -> Your Application -> Identities tab.

## Example Template

FusionAuth ships no default for this template. Start from the following example:

```ftl
[#-- this email goes to the existing account, so don't show details about the other user --]
<p>
  Another account tried to change its login Id to one that already belongs to your account. FusionAuth rejected the change, and your account is unchanged.
</p>
- FusionAuth Admin
```

```ftl
[#-- this email goes to the existing account, so don't show details about the other user --]
Another account tried to change its login Id to one that already belongs to your account. FusionAuth rejected the change, and your account is unchanged.

- FusionAuth Admin
```

## Replacement Variables

`application`

*   Type: `Application`

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

The variable is present only when the request that sends the email identifies an Application. Check for the variable before you use it:

```ftl
[#if application??]
  ${application.name}
[/#if]
```

`baseUrl`

*   Type: `String`
*   Available since `1.68.0`

The base URL for links in the email. FusionAuth uses the Application **baseURL**, then the Tenant **baseURL**, then `http://localhost:9011`.

`event`

*   Type: `Object`

The User Login Id Duplicate Update event. For field definitions, see the [User Login Id Duplicate Update](https://fusionauth.io/docs/events/reference/user/login/user-login-id-duplicate-update.md) event reference.

`tenant`

*   Type: `Tenant`

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

`user`

*   Type: `User`

The User object for the user whose update FusionAuth rejected. The recipient doesn't own this account. For field definitions, see the [User API](https://fusionauth.io/docs/apis/users.md).

Related

[Email Login Id Duplicate on Create Email Template Learn when FusionAuth sends the email that tells a user someone tried to sign up with their login Id, and which variables the template receives. login id duplicate templateduplicate emailthreat detection email](https://fusionauth.io/docs/email/template-reference/security/login-id-duplicate-on-create.md)

[Email Password Reset Success Email Template Learn when FusionAuth sends the email that confirms a password reset, and which variables the template receives. threat detection emailfreemarker](https://fusionauth.io/docs/email/template-reference/security/password-reset-success.md)

[Email Password Update Email Template Learn when FusionAuth sends the email that tells a user their password changed, and which variables the template receives. threat detection emailfreemarker](https://fusionauth.io/docs/email/template-reference/security/password-update.md)

[Email Two-Factor Method Added Email Template Learn when FusionAuth sends the email that tells a user a two-factor method was added, and which variables the template receives. threat detection emailfreemarker](https://fusionauth.io/docs/email/template-reference/security/two-factor-method-added.md)
---

## Other pages in Security

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

- [Admin Two-Factor Method Removed Email Template](https://fusionauth.io/docs/email/template-reference/security/admin-two-factor-method-removed.md): Learn when FusionAuth sends the email that tells a user an administrator removed a two-factor method, and which variables the template receives.
- [Breached Password Email Template](https://fusionauth.io/docs/email/template-reference/security/breached-password.md): Learn when FusionAuth sends the email that warns a user about a breached password, and which variables the template receives.
- [Email Update Email Template](https://fusionauth.io/docs/email/template-reference/security/email-update.md): Learn when FusionAuth sends the email that tells a user their email address changed, and which variables the template receives.
- [Login Id Duplicate on Create Email Template](https://fusionauth.io/docs/email/template-reference/security/login-id-duplicate-on-create.md): Learn when FusionAuth sends the email that tells a user someone tried to sign up with their login Id, and which variables the template receives.
- [Password Reset Success Email Template](https://fusionauth.io/docs/email/template-reference/security/password-reset-success.md): Learn when FusionAuth sends the email that confirms a password reset, and which variables the template receives.
- [Password Update Email Template](https://fusionauth.io/docs/email/template-reference/security/password-update.md): Learn when FusionAuth sends the email that tells a user their password changed, and which variables the template receives.
- [Threat Detected Email Template](https://fusionauth.io/docs/email/template-reference/security/threat-detected.md): Learn when FusionAuth sends the email for a login from a new device or a suspicious login, and which variables the template receives.
- [Two-Factor Authentication Email Template](https://fusionauth.io/docs/email/template-reference/security/two-factor-authentication.md): Learn when FusionAuth sends the email that contains a two-factor code, and which variables the template receives.
- [Two-Factor Method Added Email Template](https://fusionauth.io/docs/email/template-reference/security/two-factor-method-added.md): Learn when FusionAuth sends the email that tells a user a two-factor method was added, and which variables the template receives.
- [Two-Factor Method Removed Email Template](https://fusionauth.io/docs/email/template-reference/security/two-factor-method-removed.md): Learn when FusionAuth sends the email that tells a user a two-factor method was removed, and which variables the template receives.
