# TrafficEventTemplate

The prepared email this message was sent from, or null for any other mail. Present on each recipient's admission row and on every relay attempt after it…

The prepared email this message was sent from, or null for any other mail. Present on each recipient's admission row and on every relay attempt after it; filter on it with `template`.

```ts
type TrafficEventTemplate = {
  lang: string | null
  slug: string
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `lang` | `string` \| `null` | The language the message went out in, or null if the row did not record one |
| `slug` | `string` | The template's slug within the account |

## Used in

[`TrafficEvent`](/docs/sdks/typescript/types/traffic-event).
