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

# Email Providers

> Resend, Postmark, SMTP, Plunk, and custom providers.

# Email providers

Configure the provider with `EMAIL_PROVIDER`. If set, ShipFree uses that provider. If not set, it auto-discovers the first configured provider.

## Resend

* `RESEND_API_KEY`
* `RESEND_DOMAIN`

## Postmark

* `POSTMARK_API_TOKEN`

## Plunk

* `PLUNK_API_KEY`

## Nodemailer (SMTP)

* `SMTP_HOST`
* `SMTP_PORT`
* `SMTP_USER`
* `SMTP_PASS`
* `SMTP_SECURE`

## Custom provider

Implement a custom provider and register it in `src/lib/messaging/email/providers/custom.ts`.

<Info>
  Set `DEFAULT_FROM_EMAIL` and `DEFAULT_FROM_NAME` to control sender identity.
</Info>
