Gmail

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
  • 8Streams
  • 8Entities
  • 6Actions
  • 50+Destinations
One connector

Everything Gmail can do in Airbyte

  • 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.

  • 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.

Sync capabilities

  • Available onCloud, Self-Managed Enterprise
  • Destinations50+ Airbyte connectors
  • Connector version0.1.13
8 streams

Every table you can sync from Gmail

  • profile

    The authenticated user's Gmail profile, including email address and history ID.

  • drafts

    Stub records (id, message.id, message.threadId) returned by users.drafts.list.

  • labels

    All Gmail labels, including system labels (e.g. INBOX, SENT) and user-created labels.

  • labels_details

    Per-label metadata such as message and thread counts. Substream of labels.

  • messages

    Stub records (id, threadId) returned by users.messages.list.

  • messages_details

    Full message payloads, headers, snippet, and labels. Substream of messages.

  • threads

    Stub records (id, historyId) returned by users.threads.list.

  • threads_details

    Per-thread details and the messages in each thread. Substream of threads.

6 actions

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.

Authentication

Authenticate Gmail once

  • Authenticate via Google (OAuth)

    Recommended
  • Service Account Key Authentication

Use cases

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

FAQ

Common questions

Do I need more than one Gmail connection?

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

Do Gmail entity actions need a sync to run first?

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.

What is ETL?

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.

What data can you extract from Gmail?

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.

How do I transfer data from Gmail?

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.

What are top ETL tools to transfer data from Gmail?

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.

What is ELT?

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.

Difference between ETL and ELT?

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.