Data replication

Sync Gmail data anywhere.

Unify your operations with the only connector you’ll ever need. Move large volumes of data with best-in-class replication, or build production-ready AI agents directly on your data.

  • Standard
  • Alpha
  • 8 streams
  • 8 entities
  • Read & write
Gmail

Everything Gmail can do in Airbyte

  • Sync to your warehouse

    Land 8 Gmail tables in 50+ destinations on a schedule you control.

    Sync to your warehouse

    Land 8 Gmail tables in 50+ destinations on a schedule you control.
  • Live entity actions

    Read, create, update and delete Gmail records at runtime through typed entity actions.

    Live entity actions

    Read, create, update and delete Gmail records at runtime through typed entity actions.
  • Context store search

    Query synced Gmail data with filters, sorting and semantic search, without spending Gmail API rate limits.

    Context store search

    Query synced Gmail data with filters, sorting and semantic search, without spending Gmail API rate limits.
  • One authorization

    Authenticate Gmail once. The same connection powers scheduled syncs and runtime actions.

    One authorization

    Authenticate Gmail once. The same connection powers scheduled syncs and runtime actions.

What to know before you sync Gmail

  • Support levelStandard
  • Available onCloud, Self-Managed Enterprise
  • Connector version0.1.17
  • Release stageAlpha

Sync capabilities

  • Destinations50+ Airbyte connectors

Set up in 7 steps

  1. Log into your Airbyte instance, click Sources, and click + New source.
  2. Select Gmail from the source type dropdown.
  3. Choose your authentication method: - Authenticate via Google (OAuth) — Click Authenticate your account and complete the Google sign-in flow. Airbyte Cloud users authenticate against Airbyte's pre-registered OAuth app. Airbyte Open Source users provide their own Client ID, Client Secret, and Refresh Token. - Service Account Key Authentication — Paste the contents of your service account JSON key file into the Service Account Information field.
  4. (Optional) Set Start date in YYYY-MM-DDTHH:MM:SSZ format. Only messages, drafts, and threads received on or after this date are replicated. If you leave it blank, the connector replicates the full mailbox history.
  5. (Optional) Toggle Include Spam & Trash to include drafts and messages from the Spam and Trash folders. Defaults to off.
  6. (Optional) Adjust Number of concurrent workers (between 2 and 10, default 5) to control how many requests the connector issues in parallel. Lower this value if you see frequent rate-limit errors.
  7. Click Set up source to test the connection and save the configuration.

Every table you can sync from Gmail

  • profile

  • drafts

  • labels

  • labels_details

  • messages

  • messages_details

  • threads

  • threads_details

Supported Gmail actions

  • Get

    Fetch a single record by ID.

  • Context Store Search

    Query synced data with filters and sorting, with no API rate limits.

  • List

    Read live records straight from the Gmail API.

  • Create

    Write a new record back into Gmail.

  • Update

    Patch fields on an existing record.

  • Delete

    Remove a record.

Full parameter-level details live in the Gmail entity reference.

Authenticate Gmail once

    • Recommended

    Authenticate via Google (OAuth)

  • Service Account Key Authentication

What teams build with Gmail

List my recent emails

Show me unread messages in my inbox

Get the details of a specific email

List all my Gmail labels

Show me details for a specific label

List my email drafts

Get the content of a specific draft

List my email threads

Show me the full thread for a conversation

Get my Gmail profile information

Send an email to someone

Create a new email draft

Archive a message by removing the INBOX label

Mark a message as read

Mark a message as unread

Move a message to trash

Create a new label

Update a label name or settings

Delete a label

Search for messages matching a query

Find emails from a specific sender

Show me emails with attachments

Show me my latest emails

Find recent unread emails about topic

Show the conversation with person about topic

Common questions

Didn't find your answer?
Please don't hesitate to reach out.

Talk to sales

No. One Gmail authorization powers both the scheduled syncs that land data in your destination and the entity actions your agents call at runtime.

No. Entity actions read and write through the Gmail API as they are called, so they work immediately. Context store search is the exception: it queries data Airbyte has already synced, which is what lets it filter and sort without spending API rate limits.

ETL, an acronym for Extract, Transform, Load, is a vital data integration process. It involves extracting data from diverse sources, transforming it into a usable format, and loading it into a database, data warehouse or data lake. This process enables meaningful data analysis, enhancing business intelligence.

Gmail provides access to a wide range of data types, including: Structured data (organized into tables with defined columns and data types, such as CSV, JSON, and Avro files); Semi-structured data (some structure, but not necessarily a fixed schema, such as XML and JSON files); Unstructured data (no predefined structure, such as text, images, and videos); Time-series data (organized by time, such as stock prices, weather data, and sensor readings); Geospatial data (related to geographic locations, such as maps, GPS coordinates, and spatial databases); Machine learning data (used to train machine learning models, such as labeled datasets and feature vectors); and Streaming data (generated in real-time, such as social media feeds, IoT sensor data, and log files). Overall, Gmail's API provides access to a wide range of data types, making it a powerful tool for data analysis and machine learning.

This can be done by building a data pipeline manually, usually a Python script (you can leverage a tool such as Apache Airflow for this). This process can take more than a full week of development. Or it can be done in minutes on Airbyte in three easy steps: 1. Set up Gmail as a source connector (using Auth, or usually an API key). 2. Choose a destination (more than 50 available destination databases, data warehouses or lakes) to sync data to and set it up as a destination connector. 3. Define which data you want to transfer from Gmail and how frequently.

The most prominent ETL tools to transfer data to include: Airbyte, Fivetran, StitchData, Matillion, Talend Data Integration. These tools help in extracting data from various sources (APIs, databases, and more), transforming it efficiently, and loading it into and other databases, data warehouses and data lakes, enhancing data management capabilities.

ELT, standing for Extract, Load, Transform, is a modern take on the traditional ETL data integration process. In ELT, data is first extracted from various sources, loaded directly into a data warehouse, and then transformed. This approach enhances data processing speed, analytical flexibility and autonomy.

ETL and ELT are critical data integration strategies with key differences. ETL (Extract, Transform, Load) transforms data before loading, ideal for structured data. In contrast, ELT (Extract, Load, Transform) loads data before transformation, perfect for processing large, diverse data sets in modern data warehouses. ELT is becoming the new standard as it offers a lot more flexibility and autonomy to data analysts.

Start moving Gmail data today

Free for 14 days on Airbyte Cloud. One connection powers your scheduled syncs and your live Gmail actions.