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

# Gmail

> Connect your own Google account so Agentwork learns from your email and can search, draft, send and label email with your approval.

Gmail is available once you connect your own Google account. To set it up, see [Google Workspace](https://docs.agentwork.com/connectors/google-workspace.md#connect-your-own-google-account).

## What Agentwork learns from it

With **Build memory from Gmail** on, Agentwork imports your email and its attached documents from the last 12 months, then new email as it arrives. It skips drafts, spam, trash, chats, and email in the Promotions, Social, Updates and Forums categories, except email you sent. Turning it off removes your imported email, unless a colleague's mailbox also has it.

## What Agentwork can do in it

Agentwork can search and read your email, create drafts, send email, and add or remove labels. Sending email always asks for approval unless an owner or admin turns that off for the tool. See [Approvals for actions in your tools](https://docs.agentwork.com/approvals.md).

## Who sees what

You and the colleagues named on an email can get answers from it. Nobody else in your organization can.

## Related

* [Google Drive](https://docs.agentwork.com/connectors/google-workspace/google-drive.md)
* [Google Calendar](https://docs.agentwork.com/connectors/google-workspace/google-calendar.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.