> For the complete documentation index, see [llms.txt](https://docs.myalice.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.myalice.ai/connect-social-channels/connect-your-email/connect-gmail.md).

# Connect Gmail

{% hint style="info" %}
You need to —

* Be an Admin on MyAlice.
* Have gmail login credentials
* Enable IMAP&#x20;
* Create an App password if your Two Factor Authentication is enabled.
  {% endhint %}

{% hint style="info" %}
Our system will fetch the last 100 threads (Max) and keep those mail in "All Closed" queue in our inbox.&#x20;
{% endhint %}

## Use Cases of MyAlice for Gmail

Integrating your Gmail with MyAlice will allow you to:

* Respond to emails from MyAlice inbox.
* Create orders based on emails(Launching soon)

## Connect Your Gmail

### Step 1: Link your Account

<figure><img src="/files/7Z7CkvjjGswwIT0ubJhw" alt=""><figcaption></figcaption></figure>

1. Go to **Integration** from the left navigation bar.
2. Under **Available Integrations**, select **Email**.&#x20;
3. A connection window will appear in the center.

<figure><img src="/files/2YgzVIbebFNVZRnVQNFd" alt=""><figcaption></figcaption></figure>

4. Click on **Sign in with Google**. Gmail authentication window will open.

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

5. After logging in to your account, check the **Select All** checkbox to provide permission to MyAlice to send and get emails and click Continue

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

6. After successful authentication, the google login page will be closed. And new window will appear in the screen. Type your **Channel Title** and press **Complete.**&#x20;

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

7. You will get a successful message upon completion. Now all your new emails will come into your MyAlice inbox.&#x20;

<figure><img src="/files/RbP5OdzkNFljdI0rFm7O" alt=""><figcaption><p>Email ticket view</p></figcaption></figure>

<figure><img src="/files/H9fCr53pEWhx40Nmatj6" alt=""><figcaption><p>Inbox ticket view for emails</p></figcaption></figure>

{% hint style="success" %}
You will get a confirmation message that your Gmail account is now linked to MyAlice.
{% endhint %}

{% hint style="info" %}
Click on the triple dot (...) icon on each channel card to edit channel settings, disconnect or delete your channel. You can only Edit your channel title for email channels.&#x20;
{% endhint %}


---

# 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.myalice.ai/connect-social-channels/connect-your-email/connect-gmail.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.
