# cow templates

> Part of the Cowliss docs. Markdown for every page: append `index.md` to its URL. Site map: /llms.txt

<!-- GENERATED by apps/docs/scripts/generate-cli-reference.ts. Do not edit. Regenerate with `pnpm -F cowliss-docs generate`. -->

The email templates an automation sends: who sends them, rendering one, writing one, and sending yourself a test.

`cow templates [options] [command]`

### cow templates list

List the organization's email templates

`cow templates list [options]`

**Options**

| Flag | Description |
| --- | --- |
| `--cursor <cursor>` |  |
| `--limit <n>` |  |
| `--app-id <appId>` |  |
| `--q <q>` |  |

### cow templates create

Create a template

`cow templates create [options]`

**Options**

| Flag | Description |
| --- | --- |
| `--app-id <appId>` | appId is the appId in the app's cow.json. |
| `--key <key>` |  |
| `--template <json>` |  |

### cow templates update

Save a template's next version

`cow templates update [options] <key>`

**Options**

| Flag | Description |
| --- | --- |
| `--app-id <appId>` | appId is the appId in the app's cow.json. |
| `--template <json>` |  |

### cow templates get

Inspect one email template

`cow templates get [options] <key>`

**Options**

| Flag | Description |
| --- | --- |
| `--app-id <appId>` | appId is the appId in the app's cow.json. |

### cow templates preview

Render a template with the props you pass

`cow templates preview [options] <key>`

**Options**

| Flag | Description |
| --- | --- |
| `--app-id <appId>` | appId is the appId in the app's cow.json. |
| `--props <json>` |  |

### cow templates testSend

Send a rendered template to your own address

`cow templates testSend [options] <key>`

**Options**

| Flag | Description |
| --- | --- |
| `--app-id <appId>` | appId is the appId in the app's cow.json. |
| `--props <json>` |  |

### cow templates delete

Delete an email template

`cow templates delete [options] <key>`

**Options**

| Flag | Description |
| --- | --- |
| `--app-id <appId>` | appId is the appId in the app's cow.json. |
