---
title: "Email notifications"
---

Set up the mail transport SaaSify uses to send email notifications, using SendGrid or your own SMTP server.

:::note[Before you start]
- **Role:** Publisher Admin
- **You need:** either a SendGrid API key, SMTP server credentials, or a Microsoft Entra app registration for O365 Modern Authentication.
:::

Email is one of the channels in the [Notification Center](/notifications/notification-center). Before SaaSify can send email, configure an outbound mail transport for your tenant at **Settings → Configurations → Email** ("Email Configurations").

## Choose an auth type

Pick one of three transports:

::::tabs
:::tab[Sendgrid]
**Required:** From Email, From Display Name.

**API Key** ("Sendgrid API key") is required the first time; once stored, you can save changes without re-entering it.

SendGrid open and click tracking feeds the **Customer opened email** and **Customer clicked offer URL email** notifications on shared private offers.
:::

:::tab[Legacy SMTP]
**Required:** From Email, From Display Name, Username, Host, Port (for example `25` or `587`).

**Password** is required only if none is stored. Tick **Enable SSL** if your server requires it.
:::

:::tab[O365 Modern Authentication]
Sends through Microsoft Graph.

**Required:** From Email, Tenant ID, Active Directory Application ID, and a future **Secret Expiry Date**.

**Secret** is required only if none is stored.

The app registration needs these Microsoft Graph permissions: `User.Read` (Delegated), `User.ReadBasic.All`, `Mail.Send`, and `Mail.Send.Shared`.
:::
::::

## Test and save

:::steps
### Send a test
Select **Send Test Email**, enter a recipient in the **Test Email** field, and select **Send**. On success you see "Mail triggered successfully".

### Save
Select **Save**. On success you see "{type} configuration saved successfully".
:::

## Email branding and templates

Email notifications use SaaSify's HTML templates. Your logo and welcome content come from **Settings → Branding** (Images and Content). Templates can be customised per tenant.


## Related

::::cards
:::card[Notification Center]{href="/notifications/notification-center"}
Choose which events send email, and to whom.
:::
:::card[Event catalog]{href="/notifications/event-catalog"}
Events that can notify by email.
:::
:::card[Branding]{href="/administration/branding"}
Your logo and welcome content.
:::
::::
