# MailTemplateDetail

The MailTemplateDetail type of the TypeScript SDK, which templates.get take or answer.

```ts
type MailTemplateDetail = MailTemplate & {
  variants: MailTemplateVariant[]
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `variants` | [`MailTemplateVariant[]`](/docs/sdks/typescript/types/mail-template-variant) |  |

## Used by

| Method | What it does |
| --- | --- |
| [`templates.get`](/docs/sdks/typescript/templates/get) | Get one mail template |
