> For the complete documentation index, see [llms.txt](https://docs.responso.com/responso-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.responso.com/responso-doc/en/integrations/email/imap/gmail.md).

# Gmail

At the beginning, it's important to enable IMAP access before adding the settings:

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

{% hint style="info" %}
NOTE: If you want to connect with Gmail, Outlook, or Yahoo, you will need to use an application password.
{% endhint %}

Please check the following instructions to learn how to create an application password:

#### Gmail

If you are using a business account, the configuration may require additional permissions from the administrator.

Enable two-factor authentication (2FA) here.

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

Allow users to manage their access to less secure apps

<figure><img src="/files/1cTPaQT297cLXRc1AGfz" alt=""><figcaption></figcaption></figure>

Then, enter the data here (*Password* is application password):

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

You can choose how old messages you want to sync.

The next step should looks like this:<br>

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


---

# 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.responso.com/responso-doc/en/integrations/email/imap/gmail.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.
