> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/authentication/admin-portal/settings/managing-email-templates.md).

# Managing Email Templates

***

## Overview

1Kosmos ships **seven out-of-the-box messaging templates** that community administrators can tailor to fit, so users always get the right message to complete the task at hand. For example, when a user requests an OTP at login, they receive an SMS with the code to enter where prompted.

{% hint style="info" %}
**Note:** You can edit the existing templates, but you cannot create new ones.
{% endhint %}

These templates cover scenarios such as receiving a passcode at login, an identity verification link, an admin-sent device onboarding link, a self-service onboarding link from the *Request an Invite* page, an email verification link at account creation, and a password reset link.

### View templates

1. Log in to your tenant as a community administrator.
2. Navigate to **Settings > Messaging Templates**. The page lists all available templates.

### Edit a template

1. Find the template you want to change.
2. Under the **Actions** column, click the **pencil** icon on that template's row.
3. Edit the SMS or email content.
4. Click **Save**.

### Supported variables by template

Drop these variables into your content to personalize each message:

| Template                                                                                                                                                                        | Supported variables                                                                     | Channel       |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------- |
| **Default admin onboard email** — invite users to passwordless access with a link to onboard their phone as an authenticator via the 1Kosmos app (sent by an admin from AdminX) | `{{FIRSTNAME}}`, `{{MAGICLINK}}`, `{{COMMUNITYNAME}}`, `{{TENANTNAME}}`                 | Email and SMS |
| **Self invite email** — onboard a user's device for passwordless login by following the emailed instructions                                                                    | `{{FIRSTNAME}}`, `{{LASTNAME}}`, `{{MAGICLINK}}`, `{{COMMUNITYNAME}}`, `{{TENANTNAME}}` | Email         |
| **Default identity verification** — helpdesk admins send an identity verification link so users can start their verification journey                                            | `{{FIRSTNAME}}`, `{{TENANTNAME}}`, `{{LINK}}`                                           | SMS           |
| **Default phone verify** — verify a phone number                                                                                                                                | `{{url}}`                                                                               | SMS           |
| **Default password reset** — sent when a user requests a password reset                                                                                                         | `{{MAGICLINK}}`, `{{COMMUNITYNAME}}`, `{{TENANTNAME}}`                                  | Email         |
| **Default email verify** — verify an email address                                                                                                                              | `{{MAGICLINK}}`, `{{COMMUNITYNAME}}`, `{{TENANTNAME}}`                                  | Email         |
| **Default email OTP** — deliver OTP codes during authentication when a user requests one                                                                                        | `{{otp}}`, `{{tenant}}`, `{{dns}}`                                                      | Email and SMS |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.1kosmos.com/authentication/admin-portal/settings/managing-email-templates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
