# Google

> Copy Gmail messages, Google Calendar events and Google Drive documents into your workspace's sources.

Cozy has three Google connectors. Each is connected on its own, and each only
reads.

| Connector | What Cozy copies | Google permission |
| --- | --- | --- |
| **Gmail** | Messages, with their bodies and headers | `gmail.readonly` |
| **Google Calendar** | Events, with attendees and descriptions | `calendar.readonly` |
| **Google Drive** | Google Docs and text files. Other files are listed by name and details only | `drive.readonly` |

## Connect [#connect]

In **Connectors**, choose the connector, then **Connect Gmail**, **Connect
Google Calendar** or **Connect Google Drive**. Choose **Sign in with Google**
and allow access on Google's screen.

You can also paste a Google access token with the permission above in **API
token** and choose **Save token**. A pasted token isn't renewed: connect again
when it expires.

## Options [#options]

- **Gmail** and **Google Drive**: **Query (optional)** limits which messages
  or files are copied. Leave it blank to copy everything Cozy can read.
- **Google Calendar**: **Calendar ID** picks a calendar. Leave it blank for
  your primary calendar.

To copy from more than one Google account, choose **Connect another Gmail
account**, and the same for Calendar and Drive.

Cozy never sends email, changes events or edits files. See
[Connectors](/docs/connectors) for syncing, pausing and disconnecting.

