# Notifications

Choose which informational emails users receive and whether they may turn them off, per employees and external users.

Users receive emails about activity on their account. Some of them are informational, such as a message after every sign-in, and not every organisation wants them sent, or wants users to be able to switch them off. The **Notifications** tab lets you decide this per notification. Security-relevant notifications are not affected and are always sent.

## Configure a notification

1. Open **Settings → Notifications**.
2. In the **User notifications** table, choose a mode for each notification.
3. Click **Save changes**.

The change applies from the next email that would be sent. Users see the new state the next time they open **Preferences** in their account.

### Modes

| Mode | Sent | In the user's account |
|---|---|---|
| **Always send** | Always | Shown as **Always on**, the switch is locked |
| **Optional** | Unless the user turned it off | Switch the user can change, on by default |
| **Never send** | Never | Not shown |

If you change a notification from **Optional** to **Always send** and later back, a user's earlier choice is kept.

### Employees and external users

> **Note:** A separate column for external users is available with the **CIAM** (Customer Identity) add-on.

With CIAM, the table has two columns: **Employees** and **External users** (customers and consumers). This lets you, for example, keep the sign-in notification optional for employees while never sending it to customers. Without CIAM there is one column, which applies to all users.

## Configurable notifications

| Notification | Sent when | Default |
|---|---|---|
| **Login notification** | A user signs in successfully. Not sent for a re-authentication, or when a new-device notification was already sent for the same sign-in. | Optional |
| **New device notifications** | A user signs in from a browser or device that was not seen before. | Always send |
| **Access request notifications** | An access request of the user is approved or rejected. | Always send |

The defaults match the behaviour before this tab existed.

> **Tip:** The new-device notification helps users notice a sign-in they did not make. Consider keeping it on for employees even if you turn it off for customers. The sign-in from a new device is recorded in the [audit log](https://dts-identity.com/docs/monitoring/audit-logs.md) either way.

## Notifications that are always sent

The **Security notifications** card lists notifications that cannot be turned off, so users always learn about changes to the security of their account:

- MFA factor added, removed or replaced, and MFA reset
- Password changed
- Email address changed (sent to the previous address)
- Username changed
- Temporary access code issued
- Emergency access alerts (sent to owners, see [Break-glass access](https://dts-identity.com/docs/security/break-glass.md))

Two further security notifications are switched on or off together with the protection feature they belong to. The card shows their current state and links there:

- **Account locked**: Brute-force protection, see [Threat protection](https://dts-identity.com/docs/security/threat-protection.md)
- **Breached password detected**: Breached password detection, see [Threat protection](https://dts-identity.com/docs/security/threat-protection.md)

Transactional emails such as verification codes, password reset links, activation links and invitations are part of the respective flow and are always sent. They are not listed on this tab.

## Notes

- All notifications on this tab are emails. The switches in the user's **Preferences** are only shown when the email attribute is enabled for the user's directory.
- Changing a mode is recorded in the audit log as a configuration change.

## See also

- [Login](https://dts-identity.com/docs/settings/login.md)
- [Approval flows](https://dts-identity.com/docs/workflows/approval-flows.md)
