# email

Transactional email delivery: responsibilities, supported exports and extension points.

## Purpose [#purpose]

Server transports select the Cloudflare binding, Cloudflare REST, Resend or the console fallback from available configuration. Template helpers produce escaped HTML for verification, reset, invitations and other identity messages.

## Public exports [#public-exports]

| Subpath        | Target                |
| -------------- | --------------------- |
| `.`            | `./src/index.ts`      |
| `./templates`  | `./src/templates.ts`  |
| `./transports` | `./src/transports.ts` |

These paths come from `packages/email/package.json`. A `.` entry is the package root. Conditional targets distinguish platform or type resolution; consumers should import the subpath, not its source file.

## How to extend [#how-to-extend]

Add a template and call the existing send boundary. Delivery has a bounded timeout and does not automatically retry a send after an uncertain response. Configure a real provider before relying on user delivery.

Read the [transactional email delivery guide](/docs/features/email) for the full flow.

## Key files [#key-files]

- [`packages/email/package.json`](https://github.com/CarlosZiegler/template-cloudflare/blob/main/packages/email/package.json)

