[**Documentation**](../../../README)

***

[Documentation](../../../README) / [@zerotal/notifications](../README) / MailAddress

# Interface: MailAddress

Defined in: [notifications/src/drivers/MailDriver.ts:10](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/drivers/MailDriver.ts#L10)

Mail delivery layer for the notification system's `mail` channel.

A `MailDriver` is the transport (log / SMTP / Resend). It receives a fully-resolved
`MailPayload` — the wire shape of one email — and delivers it. The fluent
[MailMessage](../classes/MailMessage) a notification returns from `toMail()` is rendered into this
payload by `MailChannel`, so drivers never deal with templates or notifiables.

## Properties

### address

> **address**: `string`

Defined in: [notifications/src/drivers/MailDriver.ts:11](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/drivers/MailDriver.ts#L11)

***

### name?

> `optional` **name?**: `string`

Defined in: [notifications/src/drivers/MailDriver.ts:12](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/drivers/MailDriver.ts#L12)
