> For the complete documentation index, see [llms.txt](https://docs.meta-inf.hu/email-this-issue/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meta-inf.hu/email-this-issue/administration/mail-server-connections.md).

# Mail Server Connections

## Basic authentication

Basic authentication (with username and password) is only supported for custom mail server connections. Connecting to Gmail or Microsoft accounts requires OAuth2 for security reasons.

Instructions for connecting to a custom mail server can be found in the [Custom Mail Server: Basic Authentication](/email-this-issue/administration/mail-server-connections/custom-mail-server-basic-authentication.md) article.

## OAuth2 credentials

OAuht2 credentials are required to connect to Microsoft as well as Gmail servers.

To manage the OAuth2 Credentials,  go to the **Administration** configuration tab and choose **OAuth2 Credentials** under the **OAUTH2** menu item.

<figure><img src="/files/DVbOM9kEqZryBNjQBKUH" alt=""><figcaption><p>OAuth2 Credentials</p></figcaption></figure>

Detailed steps for creating the OAuth2 credentials can be found in their respective articles\_

* [Microsoft with OAuth2](/email-this-issue/administration/mail-server-connections/microsoft-with-oauth2.md)
* [Gmail with OAuth2](/email-this-issue/administration/mail-server-connections/gmail-with-oauth2.md)


---

# 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:

```
GET https://docs.meta-inf.hu/email-this-issue/administration/mail-server-connections.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.
