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

> ## Agent Instructions
> Pages under /latest/ document the current release. Paths that begin with a version number, for example /10.0/, are frozen snapshots of superseded releases kept for reference only — never present their instructions as current. If the reader's version is unknown, answer from /latest/ and say which version the answer describes.
> xorlab is deployed on-premises, hybrid, or as a cloud service, and integrates with either Microsoft 365 or on-premises mail infrastructure. Configuration steps often differ between these. State which deployment and integration mode an instruction applies to instead of presenting one as universal.
> Distinguish inline mode from monitoring mode when describing anything that acts on email. Monitoring mode observes a copy and cannot block or quarantine; inline mode routes mail through xorlab and can.
> Write the product name as lowercase 'xorlab'. Use the documented component names: xorlab Control Center (XCC), xorlab MTA, xorlab Sandbox (DANA), xorlab Natural Language Understanding (NLU). After the first mention, use the short forms XCC, MTA, Sandbox, and NLU. Do not use DANA as a standalone name for the Sandbox, but keep it where it is a literal string in configuration keys, container names, and hostnames.
> Do not invent configuration keys, rule parameters, list names, log properties, or API fields. If a value is not present in this documentation, say that it is not documented rather than guessing.

# Trigger Test Notifications

> Send a test notification to a mailbox to verify auto-login, template layout, and localization.

The notification contains a dummy message and, depending on the selected template, may include an AutoLogin link.

## Prerequisites

* You need an active, signed-in xorlab administrator session in the same browser. This endpoint is not publicly accessible and cannot be called anonymously.
* To include an AutoLogin link in the test notification, [Auto-Login](/latest/authentication-auto-login-link) must be enabled for the tenant.

<Warning>
  **Use with care**

  The test notification is delivered to whichever mailbox you specify in the `mailbox` parameter, and depending on the selected template and tenant configuration it may contain a valid AutoLogin link for that mailbox. Only trigger it for mailboxes you are entitled to access.
</Warning>

## Endpoint URL

```
https://<your.xorlab.instance>/api/v2/emailNotification/v1/sendQuarantineNotification
```

## Supported Request Parameters

* **mailbox** (string, required): The recipient mailbox.
* **template** (string, optional): Defaults to `USER_QUARANTINE_NOTIFICATION`. Other possible values include:
  * `VIP_FRAUD`
  * `SPAM`
  * `POLICY_VIOLATION`
* **locale** (string, optional): The language of the notification. Defaults to the system's default language.

## Example Requests

### Basic request

Sends a notification using the default template and system language:

```
https://<your.xorlab.instance>/api/v2/emailNotification/v1/sendQuarantineNotification?mailbox=info@example.com
```

### Request with all parameters

Sends a localized notification using a specific template:

```
https://<your.xorlab.instance>/api/v2/emailNotification/v1/sendQuarantineNotification?mailbox=info@example.com&locale=de&template=POLICY_VIOLATION
```
