> For the complete documentation index, see [llms.txt](https://docs.elimity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elimity.com/reference-manual/v3.41.0/installation/mail-server.md).

# Mail server

Elimity Insights servers send out emails for multiple reasons:

* to invite new user accounts
* to update subscribed users when stored query results change
* to warn subscribed connector admins when imports fail
* to request access reviews
* to log change requests in your IT ticketing system

For SaaS customers we perform the setup and maintenance of mail servers behind the scenes. These installation instructions are mainly useful for on-prem deployments.

From an Elimity Insights server's point of view, the only requirement is an SMTP server to accept the outgoing emails. In practice this means you can probably just use a mail server that is already available in your organization. We currently support the following authentication options:

* None: Elimity Insights will simply send mails to your SMTP server without prior authentication.
* Direct: Elimity Insights will try a variety of 'direct' SMTP authentication options (e.g. `PLAIN`, `LOGIN`, `CRAM-MD5`, ...) using a configured username and password.
* OAuth2: Elimity Insights will exchange configured client credentials for an access token and use it together with a configured username for `XOAUTH2` authentication at your SMTP server.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.elimity.com/reference-manual/v3.41.0/installation/mail-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
