> ## Documentation Index
> Fetch the complete documentation index at: https://xura.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Gmail

> Send emails and search inbox from Flows.

## Connecting

**AI Studio → Integrations → Gmail → Connect**. OAuth. Scopes requested: `gmail.send`, `gmail.readonly` (minimum).

## Tools exposed

* `gmail_send_email` — subject / body / to (optional cc, bcc, html).
* `gmail_search_emails` — query + max\_results, returns snippets + metadata.

Both invocable from any Flow action node or Agent.

## Safety

Sending emails is a **side-effect action**. Flows that call `gmail_send_email` should always sit behind an approval gate.

## Disconnecting

**AI Studio → Integrations → Gmail → Disconnect**. Revokes tokens. Flows using Gmail tools will fail cleanly with an "Integration not connected" error.
