> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage templates

# Managing Templates

Learn how to create, organize, clone, and archive email templates in Mailofly.

***

## Creating a Template

1. In the sidebar, navigate to **Templates**.
2. Click **Create Template**.
3. Choose a starting layout:
   * **Blank Canvas**: Start from scratch with the visual block builder.
   * **Starter Layout**: Clean, responsive layout with pre-styled header, CTA, and footer.
   * **Raw HTML**: Import your existing HTML or MJML code.
4. Give your template an internal name and default subject line.

***

## Template ID and Aliases

Each template has a permanent unique ID:

```text theme={null}
tmpl_01J8G52XYZ9A8B7C6D
```

You can also assign an optional human-readable slug/alias (e.g. `password-reset` or `welcome-email`), which can be passed directly to the API in place of the ID.

***

## Cloning Templates

To iterate on an existing design without modifying production templates:

1. Open the template details page.
2. Click **Duplicate**.
3. Edit the duplicate and test it before updating your API callers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.