# Gateway notifications

You can configure automatic e-mail notifications when one of your gateways disconnects.&#x20;

### Requirements

* SMTP server configured in Defguard (SMTP tab in settings)

### Configuration

In order to configure the notifications, navigate to the "Gateway notifications" settings tab.

<figure><img src="/files/WFP9UTdMMD1Oliel867n" alt=""><figcaption></figcaption></figure>

The configuration options are as follows:

* **Enable gateway disconnect notifications** - whether the notifications should be enabled
* **Gateway inactivity time** - the time for which the gateway needs to stay disconnected in order to trigger the notification
* **Enable gateway reconnect notifications** - whether to send the notification when the gateway connects again after


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.defguard.net/1.4/features/notifications/gateway-notifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
