> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modelence.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EmailPayload

[API Reference](/api-reference/@modelence/aws-ses/type-aliases/../../../index) / [@modelence/aws-ses](/api-reference/@modelence/aws-ses/type-aliases/../index) / EmailPayload

> **EmailPayload** = `object` & \{ `html`: `string`; } | \{ `text`: `string`; }

Defined in: [index.ts:16](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L16)

## Type declaration

| Name           | Type                                                                                   | Defined in                                                                                                                            |
| -------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `attachments?` | [`EmailAttachment`](/api-reference/@modelence/aws-ses/type-aliases/EmailAttachment)\[] | [index.ts:26](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L26) |
| `bcc?`         | `string` \| `string`\[]                                                                | [index.ts:23](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L23) |
| `cc?`          | `string` \| `string`\[]                                                                | [index.ts:22](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L22) |
| `from`         | `string`                                                                               | [index.ts:17](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L17) |
| `headers?`     | `Record`\<`string`, `string`>                                                          | [index.ts:25](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L25) |
| `html?`        | `string`                                                                               | [index.ts:20](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L20) |
| `replyTo?`     | `string` \| `string`\[]                                                                | [index.ts:24](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L24) |
| `subject`      | `string`                                                                               | [index.ts:19](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L19) |
| `text?`        | `string`                                                                               | [index.ts:21](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L21) |
| `to`           | `string` \| `string`\[]                                                                | [index.ts:18](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/aws-ses/src/index.ts#L18) |
