> For the complete documentation index, see [llms.txt](https://docs.omypayments.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omypayments.com/white-label/email-delivery.md).

# Email delivery

Emails to your merchants and customers are sent in your name: your logo at the top (or your name, if no logo is uploaded) and your name as the sender.

### What is sent

| To        | Emails                                                                                                     |
| --------- | ---------------------------------------------------------------------------------------------------------- |
| Merchants | Welcome, email confirmation, password reset, team invitation, confirmation codes for withdrawals and swaps |
| Customers | Email confirmation, password reset                                                                         |

Links in the emails lead to your dashboards: to the addresses set in your branding as **Merchant dashboard URL** and **Customer dashboard URL** — see [Branding](https://docs.omypayments.com/white-label/branding.md).

### Two ways to send

#### Through OmyPayments (default)

Nothing to set up. Emails go out through our mail infrastructure, branded as yours.

#### Through your own Mailgun account

Emails go out from an address on your own domain. Send us:

| Setting            | Example                                                   |
| ------------------ | --------------------------------------------------------- |
| Mailgun API region | `https://api.eu.mailgun.net`                              |
| Sender address     | `no-reply@mail.partner.com`                               |
| Sender name        | `Partner Payments` (your name is used if left empty)      |
| Mailgun API key    | Send it through a secure channel agreed with your manager |

Requirements:

* The sender address must be on your **Mailgun sending domain** (`mail.partner.com` in the example above). This keeps your mail aligned for DMARC.
* Set up SPF and DKIM for the sending domain in your DNS, as Mailgun instructs.

If the settings are incomplete, or the sender address is not on the sending domain, emails automatically go out through OmyPayments instead. They still arrive and still carry your brand, they are just not sent from your address.
