> For the complete documentation index, see [llms.txt](https://help.nightfall.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.nightfall.ai/~/changes/OeQHuIkWUMEvfotVM6p8/gmail-dlp/gmail-policies/advanced-settings.md).

# Advanced Settings

This stage allows you to select notification channels if a policy violation occurs. The notification alerts are sent at two levels.

### Admin Alerting <a href="#admin-alerting" id="admin-alerting"></a>

This section allows you to send notifications to Nightfall users. The various alert methods are as follows. You must first turn on the toggle switch to use an alert method.

{% hint style="info" %}
The alert configurations configured in this section describe the process of creating alerts at the policy level. Policy-level alerts apply only to the policy on which they are configured. To configure an alert on all the Gmail policies, you must configure alerts at the integration level. To learn more about how to configure integration-level policies for the Gmail integration, read [this document](https://help.nightfall.ai/nightfall-ai/nightfall-for-github/configuring-alerts).
{% endhint %}

The steps to configure alert channels for policy-level integration are the same as in the case of integration-level alerts. You can refer to [this document](/~/changes/OeQHuIkWUMEvfotVM6p8/gmail-dlp/configuring-integration-alerts.md#configure-alerts-at-the-integration-level) for steps.&#x20;

### Automated Actions

Automated actions allow you to configure automated remediation actions when sensitive data is found in an Email. Nightfall supports two automated actions for Gmail DLP.&#x20;

* **Block**: The Block action blocks the Email and prevents it from being sent to the recipient. The sender receives a notification email that states that their Email was not sent to the recipient.&#x20;
* **Quarantine Email**: The quarantine action guarantees the email which has sensitive data. A Nightfall admin can review the quarantined Email to check if data is sensitive and then take a call as to whether the Email must be sent to the recipient or blocked permanently.&#x20;

To enable the automated actions you must turn on the respective toggle switch.

<figure><img src="https://2214688951-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg3wgFIu8T7XAT1u-f_%2Fuploads%2F5C3oC89aFZrB7ceRLfSq%2Fimage.png?alt=media&amp;token=2c8ffeff-07e1-45ad-8c28-62db6eb5c685" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
If you do not enable any of the two automated actions, the Email with sensitive data is sent to the recipient. Nightfall recommends that you enable at least one of the two actions. &#x20;
{% endhint %}

To learn more about how automated actions impact the end-user and Nightfall admin, see [Impact of Automated Actions](/~/changes/OeQHuIkWUMEvfotVM6p8/gmail-dlp/remediation-on-nightfall-for-gmail.md).

### End-User Notification <a href="#end-user-notification" id="end-user-notification"></a>

This section allows you to configure notifications to be sent to the end user whose actions triggered the violation.

#### Custom Message <a href="#custom-message" id="custom-message"></a>

Enter a custom message to be sent to the end user. This message is sent in an Email. You can modify the default message provided by Nightfall and draft your message. The total character length allowed is 1000 characters. You can also add hyperlinks in the custom message. The syntax is \<link | text >. For example, to hyperlink [www.nightfall.ai](https://www.nightfall.ai/) with the text **Nightfall website**, you must write `<www.nightfall.ai|Nightfall website>`.

<figure><img src="https://2214688951-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg3wgFIu8T7XAT1u-f_%2Fuploads%2FDzDvZywlcxhmgNvnK4kv%2Fimage.png?alt=media&amp;token=ae8ff2c3-7870-47f6-8ac0-27b556ce47c5" alt=""><figcaption></figcaption></figure>

#### Automation <a href="#automation" id="automation"></a>

The automation settings allow you to send notifications to end users. You can select one or both the notification methods. You must first turn on the toggle switch to use the automation option. The automation notification channels are as follows&#x20;

* **Email:** This option sends an Email to the user who sent the email with sensitive data.&#x20;
* **Slack**: This option sends a Slack message to the Gmail user who sent the email with sensitive data.

<figure><img src="https://2214688951-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg3wgFIu8T7XAT1u-f_%2Fuploads%2F1zOIf7WtfLlE1JhhdIuF%2Fimage.png?alt=media&amp;token=b9e1a5c7-5a8c-4f8d-b802-3fabdcf2b51d" alt=""><figcaption></figcaption></figure>

#### End-User Remediation <a href="#end-user-remediation" id="end-user-remediation"></a>

End-user remediation (also known as Human Firewall) allows you to configure remediation measures that end users can take, when a violation is detected on their Gmail Emails. You must turn on the toggle switch to use this option. End-users receive the remediation actions in an Email as an action item. The available actions in that Email depend upon the actions that you select in this section. The various available remediation actions for end-users are as follows.

* **Report as False Positive with Business Justification**: This option allows end users to report false positive alerts and provide a business justification as to why the alert is considered to be false positive.
* **Report as False Positive**: This option allows end users to report false positive alerts.

<figure><img src="https://2214688951-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg3wgFIu8T7XAT1u-f_%2Fuploads%2FFZjjD4rg9l9NNw3AIG7P%2Fimage.png?alt=media&amp;token=95d0c78a-f609-46f0-88fa-b599789d519a" alt=""><figcaption></figcaption></figure>

When end-users report alerts as false positive, you can choose the resolution method to be either Automatic or manual.&#x20;

<figure><img src="https://2214688951-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg3wgFIu8T7XAT1u-f_%2Fuploads%2F2Y5dG9ekYUO8oe7nXo9w%2Fimage.png?alt=media&amp;token=29cd20d6-4781-40d7-9229-58abe012d10c" alt=""><figcaption></figcaption></figure>

If end-users do not take any remediation action, you can set the frequency at which they must receive the notifications to take action.

<figure><img src="https://2214688951-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg3wgFIu8T7XAT1u-f_%2Fuploads%2FiV6KeN9XbrU7Yg527EWH%2Fimage.png?alt=media&amp;token=18c25c8d-1ad0-4e8f-a75b-5dbdbe1851bc" alt=""><figcaption></figcaption></figure>
