# MailTemplateSend

The MailTemplateSend type of the TypeScript SDK, which templates.send take or answer.

```ts
type MailTemplateSend = {
  deliveryId: string
  langUsed: string
  results: MailTemplateSendRow[]
  slug: string
  templateVersion: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `deliveryId` | `string` | The batch id; retry with it to converge only the failures |
| `langUsed` | `string` |  |
| `results` | [`MailTemplateSendRow[]`](/docs/sdks/typescript/types/mail-template-send-row) |  |
| `slug` | `string` |  |
| `templateVersion` | `number` |  |

## Used by

| Method | What it does |
| --- | --- |
| [`templates.send`](/docs/sdks/typescript/templates/send) | Send a template to one or more recipients |
