Gmail

Polytomic connects Gmail to your data warehouse, databases, and SaaS tools for email ETL. Replicate messages and labels from an authorised mailbox into your data warehouse and other systems, using Gmail's history API so each run picks up only what changed, without writing code.

Gmail logo

History based incrementals

Uses Gmail's history API so runs fetch changes rather than rescanning.

Complete raw messages

The full RFC 2822 message, so nothing about the email is lost in transit.

Labels included

Sync the label set alongside messages to segment by folder or category.

Example workflows

Replicate Gmail messages into your data warehouse

What you can sync

Gmail is supported as a source. Read messages and labels from an authorised mailbox and land them in your data warehouse, databases, or SaaS tools.

From Gmail

Messages with thread ID, labels, snippet, and timestamps
The complete raw RFC 2822 message content
Labels
Incremental reads through Gmail's history API

To your destinations

Data warehouses including Snowflake, BigQuery, and Databricks
Databases including PostgreSQL and MySQL
Cloud storage including Amazon S3 and Google Cloud Storage
SaaS tools including Salesforce, HubSpot, and Attio

How it works

Connect a Gmail account with OAuth and Polytomic reads its messages and labels into your data warehouse, databases, or SaaS tools. A connection covers the authorised mailbox, so syncing several mailboxes means adding several connections.

Messages come through as Gmail's complete raw content, which means headers, body parts, and MIME structure are all present rather than being pre-selected for you. You parse out what you need downstream, and nothing is lost on the way in.

  • Connect a Gmail account with read only OAuth
  • Read messages with thread ID, labels, snippet, and timestamps
  • Get the complete raw message content for downstream parsing
  • Sync labels alongside messages
  • Read incrementally using Gmail's history API
  • Monitor sync health, record volume, and failures from one interface

How to set up

Polytomic connects using Google OAuth with offline access, requesting read only Gmail scope plus the account email. You can supply your own OAuth client credentials, but the flow remains per user authorization.

How to get connected
  1. 1In Polytomic, navigate to Connections, then Add Connection, then Gmail
  2. 2Click Connect and authorize the mailbox you want to sync
  3. 3Grant read only Gmail access
  4. 4Optionally set a date cutoff to limit the initial read
  5. 5Test the connection
  6. 6Select messages, labels, or both and click Save

See the documentation for full setup details.

Frequently asked questions

Why teams choose Polytomic

No engineering required

Set up and manage syncs without writing code.

Flexible data modeling

Use SQL to define exactly what data gets synced.

Handles scale automatically

Supports large datasets with incremental syncs and bulk APIs.

Start syncing your data with Gmail in minutes

No credit card required. Free trial available.

More integrations beyond Gmail