Google Gmail to Apache Iceberg integration

Connect Google Gmail to Apache Iceberg and automatically sync your communication data. Weld extracts data from Google Gmail, loads it into Apache Iceberg, and lets you transform the data using SQL or dbt, no custom scripts required.

4.8 on G2
Google GmailSource
WeldWeld
Apache IcebergWarehouse
Weld · New sync
Google GmailSourceGoogle GmailConnected
Tables to sync
  • label12 cols
  • message7 cols
  • thread4 cols
  • message_label3 cols
  • message_classification_label_value3 cols
  • message_part8 cols
  • Extract
  • Load
  • Keep in sync
Apache IcebergDestinationApache IcebergReady
gmail schema
  • gmail.labelSynced
  • gmail.messageSyncing
  • gmail.threadSynced
  • gmail.message_labelSynced
  • gmail.message_classification_label_valueSynced
  • gmail.message_partSynced
Google Gmail tables
9
fields, typed
53
relationships kept
3
agent context included
MCP

Trusted by data and AI teams

  • Flatpay
  • Holafly
  • eComplete
  • Dishoom
  • Danish Endurance
  • Female Invest
  • Son of a Tailor
  • Onomondo
  • Medik8
  • Pas Normal Studios
How it works

How to set up Google Gmail to Apache Iceberg in Weld.
In the app, with the API or an agent.

Weld · New Google Gmail sync
Google GmailNew connectionGoogle GmailAuthorised
Connection namegmail
AuthorizeOpens Google Gmail to grant read access
Use cases

Why sync Google Gmail to Apache Iceberg?
Ready for analysis.

Centralizing your Google Gmail data in Apache Iceberg lets you join it with other data sources for cross-platform analytics and deeper insights.

Build reliable dashboards and reports by querying Google Gmail data directly in Apache Iceberg using SQL or your preferred BI tool.

  • Centralized data warehouse

    Bring Google Gmail data into Apache Iceberg alongside other sources to create a single source of truth for your organization.

  • Automated reporting

    Replace manual exports and spreadsheet-based reporting with automated pipelines from Google Gmail to Apache Iceberg. Connect BI tools like Looker, Metabase, or Power BI.

Schema

What data can you sync?
Every Google Gmail table, keys intact.

Weld syncs the objects the Google Gmail connector exposes into Apache Iceberg, and you choose which tables and fields to include. The connector's docs list what is available.

Open the schema explorer
All 9 tables
  • label
  • message
  • thread
  • message_label
  • message_classification_label_value
  • message_part
  • message_part_header
  • message_classification_label_value_field
  • profile
Weld MCP server

Ask your agent.
It queries Apache Iceberg for you.

Connect Claude, Cursor, ChatGPT or your own agent to Weld over MCP. It reads the Google Gmail context, finds the tables it needs and runs the query in Apache Iceberg.

Claude CodeOpus 5
>

How many message rows do we have per thread? Use our Google Gmail data in Apache Iceberg.

Reading the Google Gmail context first, so the query uses the right tables and keys.

●weld·search_available_references
⎿raw.gmail.message
raw.gmail.thread
+ 7 more Google Gmail tables
●weld·get_reference_schema
⎿message · 7 columns
joins thread on thread_id
●weld·run_query
⎿select t.id, count(*) from {{raw.gmail.message}} m
join {{raw.gmail.thread}} t on m.thread_id = t.id
group by 1
submitted
●weld·get_query_status
⎿DONE
●weld·get_query_result
⎿rows returned
✓Answered from Google Gmail data in Apache Iceberg
>Ask about your Google Gmail data
Under the hood

Technical considerations.
What to expect.

Reverse ETL

ELT vs. reverse ETL: Google Gmail and Apache Iceberg

ELT (Extract, Load, Transform) moves data from Google Gmail into Apache Iceberg for analysis. This is the approach shown on this page, and the one to use for dashboards, reports, and data models.

Reverse ETL works the other direction: it pushes enriched data from Apache Iceberg back into Google Gmail. For example, you could sync computed lead scores or customer segments from your warehouse into Google Gmail to personalize outreach.

Weld supports both directions, so you can build a complete data loop between Google Gmail and Apache Iceberg.

Apache Iceberg to Google Gmail
Incremental syncing
Weld uses incremental syncing where supported by the Google Gmail API, loading only new and updated records to minimize data transfer and warehouse costs.
Schema handling
Weld automatically manages schema changes. If Google Gmail adds new fields, they're detected and added to the corresponding Apache Iceberg tables.
Data freshness
Sync frequency depends on your Weld plan. Most connectors support schedules from every 5 minutes up to daily intervals.
Security
All data is encrypted in transit (TLS) and at rest. Weld is SOC 2 Type II compliant and supports IP whitelisting for database connections.
FAQ

Common questions.
About Google Gmail to Apache Iceberg.

Start syncing Google Gmail to Apache Iceberg.

Set up your Google Gmail data pipeline in minutes. No credit card required. Free for 14 days.

Google GmailSource
WeldWeld
Apache IcebergWarehouse