Integrate.io ETL can read CSV file attachments from your Gmail inbox and ingest them into your ETL pipelines. This article details how to set up the Gmail connection in Integrate.io ETL.Documentation Index
Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
A) Set Up the Gmail (Gmail) Service Account Connection:
This connector uses a Google Service Account with domain-wide delegation for authentication.Step 1: Create a GCP Project
Access your Google Cloud Console.
Click the project dropdown at the top of the page and select existing project or create a New Project.
Step 2: Enable the Gmail API
Step 3: Create a Service Account
Fill in the service account details:
- Name: e.g.
gmail-connector-reader - Description: e.g.
Service account for Integrate.io Gmail CSV connector
Skip the optional role grant steps. Gmail access is controlled via domain-wide delegation, not IAM roles.
Step 4: Enable Domain-Wide Delegation
Step 5: Download the JSON Key
The JSON file will contain a structure similar to:
Step 6: Authorize the Scope in Google Workspace Admin
Go to admin.google.com and sign in as a Workspace admin.
Enter the following:
- Client ID: The numeric Client ID from Step 4 (e.g.
118304762983475829341) - OAuth scopes:
https://www.googleapis.com/auth/gmail.readonly
Step 7: Create Gmail Connection on Integrate.io ETL
B) Gmail OAuth Connection:
As an alternative to Service Account authentication, Integrate.io ETL also supports connecting to Gmail via OAuth 2.0. This is the recommended method when you don’t have Google Workspace Admin access or want to connect a personal Gmail account.Steps : Create Gmail (OAuth) Connection on Integrate.io ETL
Token Refresh:
Once created, the connection is automatically maintained:- Access tokens are refreshed every 30 minutes in the background
- If a token expires during a job run, it is automatically renewed using the stored refresh token
- Use Test Connection on the connection detail page to manually verify the token is still valid
Using the Connection in Dataflows:
The Gmail OAuth connection works with the same Gmail source component as the Service Account version. In the package designerIn the connection dropdown, select your Gmail OAuth connection (both Service Account and OAuth connections appear in the same dropdown)








