# Google Mail

### Overview

The Google Mail integration connects nexos.ai with your Gmail so you can reference email content directly in your workspace. It helps you quickly summarize threads, pull context from past conversations, and draft clearer replies using the information already in your inbox.

### Setting up the integration (organization admin)

1. Open **Settings**.
2. Go to **Organization** → **Integrations**.
3. Find **Google Mail** in the list.
4. Set the integration to **Active** (enabled).

<figure><img src="/files/Cez7ExUruoKopVLGQS52" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
After it’s enabled here, team members can connect their own Google accounts.
{% endhint %}

### Connecting your account (individual user) from **My Integrations**

1. Open **Settings** (select your email/profile at the bottom of the left sidebar, then **Settings**).
2. Select **My Integrations**.
3. Find **Google Mail** and select **Connect**.

<figure><img src="/files/izsqIttNjfFuzseYhpkO" alt="" width="563"><figcaption></figcaption></figure>

4. You will be redirected to Google. Sign in if prompted.
5. Review the access request screen and select **Allow** to approve access.
6. Return to nexos.ai. Google Mail should now show as connected in **My Integrations**.

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

### Use Google Mail in Chat (turn it on for a conversation)

1. Open **Chat** (or an Agent chat).
2. Select the **Tools** icon.
3. Turn **Google Mail** **on** to use it in that conversation.

<figure><img src="/files/RKFZ0RUQ5qI7ZY6bJIJI" alt="" width="563"><figcaption></figcaption></figure>

### Use Google Mail in Agents (turn it on for an agent)

1. Open **Agents** and select the agent you want to update.
2. Select the **Studio** icon (top-right), then open **Settings**.
3. Scroll to **Integrations** and turn **Google Mail** **on**.
4. **Save** your changes, then test the agent (for example, “Summarize the latest email thread with Acme” or “Find the last invoice email and pull the due date”).

{% hint style="info" %}
**Alternative (quick method)**\
You can also tell the agent in plain language to add the Google Mail integration (for example, “Add the Google Mail integration for this agent”), and it will enable Google Mail for itself automatically so you can continue without leaving the conversation.
{% endhint %}


---

# 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.nexos.ai/workspace/integrations/google-mail.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.
