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.
- label12 cols
- message7 cols
- thread4 cols
- message_label3 cols
- message_classification_label_value3 cols
- message_part8 cols
- Extract
- Load
- Keep in sync
- 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
How to set up Google Gmail to Apache Iceberg in Weld.
In the app, with the API or an agent.
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.
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.
- label
- message
- thread
- message_label
- message_classification_label_value
- message_part
- message_part_header
- message_classification_label_value_field
- profile
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.
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.
Technical considerations.
What to expect.
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.
Keep reading.
Guides, docs and schema.
Google Gmail setup guide
How to connect Google Gmail to Weld, step by step.
DocumentationApache Iceberg setup guide
How to connect Apache Iceberg to Weld, step by step.
SchemaGoogle Gmail schema explorer
Browse all 9 tables and 53 fields.
ConnectorGoogle Gmail connector
Everything Weld does with Google Gmail.
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.