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

# Google workspace

# Google Workspace

Connect Google for **OAuth sending** and **Sheets-powered segments** — two integrations that keep Gmail users and spreadsheet workflows in sync with Mailofly.

***

## Google OAuth sending

Send mail through Gmail or Google Workspace without storing your Google password.

### Setup

1. **[Accounts](https://www.mailofly.com/user/accounts) → Add account → Google**
2. Complete OAuth consent
3. Account appears with your Google email as the sender

### Details

| Property | Value |
| - | - |
| Auth method | OAuth 2.0 (offline access) |
| Scopes | Email send + profile |
| Daily limit | **500 emails/day** |
| Token refresh | Automatic |

> [!WARNING]
>
> Google Workspace admins may need to allow Mailofly in their OAuth app allowlist.

***

## Google Sheets segments

Sync a published spreadsheet into a Mailofly segment — new rows become contacts on each sync. For the comprehensive guide, see [Google Sheets Audience Sync](/docs/integrations/google-sheets.md).

> [!NOTE]
>
> Requires **Basic plan or higher** (`allow_google_sheet_sync`).

### Setup

1. Go to **[Integrations → Google Sheets](https://www.mailofly.com/user/integrations/google-sheets)** and click **Connect Sheet**
2. Select target **segment** (or create a new one)
3. Paste your public **Google Sheet URL**
4. Set the **sheet tab name** (e.g. `Sheet1`)
5. Click **Add connection** and then **Sync now**

### Sheet requirements

| Requirement | Detail |
| - | - |
| Access | Sheet must be **published to web** or publicly readable |
| Header row | Must include an `email` column |
| Format | Standard Google Sheets — one contact per row |

### Column mapping

Recognized headers map automatically:

```
email, first_name, last_name, name, phone, company, …
```

Unrecognized columns become `custom_fields` for merge tags like `{{ custom.company }}`.

### Sync behavior

* **Incremental** — only new rows since last sync are imported
* **Manual trigger** — click Sync on the connection
* **API/cron** — `POST /integrations/google-sheets/sync` for scheduled syncs

***

## Use cases

| Workflow | How |
| - | - |
| Sales team maintains leads in Sheets | Sheet → segment → campaign |
| Event RSVP form exports to Sheets | Auto-sync new attendees into a blast list |
| Support team uses Gmail | OAuth account for direct personal replies via Compose |

***

## Related

* [Contacts & segments](https://docs.mailofly.com/guides/contacts)
* [Sending accounts](https://docs.mailofly.com/guides/accounts)
* [Campaigns](https://docs.mailofly.com/guides/campaigns)


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