> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/user-documentation/email/transport/list-templates.md).

# Transport Templates

This page lists the transport rule templates saved in CIPP, including a set of ready-made ones that ship with the product for common tasks such as blocking external auto-forwarding and stripping read receipts. Templates are stored in CIPP rather than in a tenant, and they are what the **Deploy Template** drawer offers you when it asks for a template. New templates are built by hand with the **New Template** button, or captured from a live rule with the **Create template based on rule** action on the [Transport Rules](https://docs.cipp.app/user-documentation/email/transport/list-rules.md) page.

## Action Buttons

<details>

<summary>Deploy Template</summary>

Opens a drawer that deploys a transport rule to one or more tenants. Select the target tenants, then either pick a template from this list to fill in the **New-TransportRule parameters (JSON)** box or type the JSON in yourself, and click **Deploy Transport Rule**. If a rule of the same name already exists in a target tenant, that rule is updated to match the template instead of a second copy being added.

</details>

<details>

<summary>New Template</summary>

Opens the same editor as **New Transport Rule** on the Transport Rules page, without a tenant behind it. Fill in the name, comments, conditions, actions and exceptions as you would for a rule. **Deploy Position** sets where the rule goes in each tenant's rule order. **Deploy first** puts it at priority 0, ahead of every other rule. **Deploy last** (the default) adds a new rule at the end and leaves an existing rule where it is. Users, groups, domains and connectors are typed in rather than picked from a tenant's directory.

Text values can contain CIPP variables such as `%tenantname%` or your own custom variables; type `%` in a text field to pick one. Variables are resolved for each tenant when the template is deployed, from this page, from the Transport Rule Template standard or from a baseline, so a rule named `%tenantname% - External tag` is created and checked under each tenant's own name.

</details>

## Table Details

| Column   | Description                                                                                                                            |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Name     | The template name, which is also the name given to the rule it creates.                                                                |
| Comments | The description saved with the template. Templates captured from a live rule inherit that rule's own comments, so this is often empty. |
| GUID     | The template's unique identifier, useful for telling apart two templates that share a name.                                            |

{% hint style="info" %}
The templates that ship with CIPP are always available. Deleting one removes it from the list until the page is next loaded, at which point it returns. Templates you have created yourself stay deleted.

The flyout shows a template's name, comments, and identifier. Use **Edit Template** to review or change the rule a template deploys. Changes to a template that ships with CIPP are overwritten when the page is next loaded, so build a changed copy with **New Template** instead.
{% endhint %}

## Table Actions

<table><thead><tr><th>Action</th><th>Description</th><th data-type="checkbox">Bulk Action Available</th></tr></thead><tbody><tr><td>Edit Template</td><td>Opens the selected template in the editor described under <strong>New Template</strong>. Saving overwrites the template in place.</td><td>false</td></tr><tr><td>Save to GitHub</td><td>Commits the selected template to a GitHub repository you choose, using a commit message you supply. Greyed out unless the GitHub integration is set up and you have write access to at least one repository.</td><td>true</td></tr><tr><td>Delete Template</td><td>Removes the selected template from CIPP. Rules already deployed from the template keep working and are not changed.</td><td>true</td></tr><tr><td>More Info</td><td>Opens the Extended Info flyout with the full details for the selected row.</td><td>false</td></tr></tbody></table>

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/CyberDrain/CIPP/issues/new?template=feature.yml) on GitHub.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cipp.app/user-documentation/email/transport/list-templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
