Overview
The Lyftron Provider for Gmail offers the most natural way to access Gmail data from Lyftron with ease and also enables to connect with BI, MDM & ML tools, Data warehouses, Databases and other SAAS based applications with zero code and zero infrastructure requirements. The provider wraps the complexity of accessing Gmail data into easy-to-integrate relational fully managed ANSI Sql format. Make faster and better business decisions with Lyftron’s Gmail data provider and automatically build your data migration pipelines in minutes, not months
The provider hides the complexity of accessing data and provides additional powerful security features, smart caching, batching, socket management, and more.
Key Features
- Comprehensive Delta load mechanism.
- Real-time access to Gmail.
- Comprehensive full support of ANSI Sql to query data with ease.
- Collaborative query processing.
Prerequisites
The user must have credentials for Gmail, Lyftron and your destination data warehouse, lake or database to perform the data pipeline operation with Lyftron
Establishing a Connection with Lyftron's Quickstart Steps
Create your Gmail connection with Lyftron by following the 5 easy steps show below:
Step1. Add your connection
Click on Connect section on the left panel → Click on Add Connection button
Step2. Select your connector
In the connector selection panel, search and click Gmail for your connection
Step3. Enter your connection details
Lyftron Data allows connectivity with three ways
- Lyftron Authentication : This is the embedded Oauth option where Lyftron data takes care of the Oauth based on Lyftron Data private key and Lyftron data access key and only email id is needed for the connectivity.
- Self Service Authentication: This is the regular Oauth option which requires email, client id and client secret for Oauth. This option requires custom web Google app registration and more information can be found here
- Service Account Authentication: This is the Google service account option which requires Google Service account authentication with json or p12 file. This option requires custom service account Google app registration and more information can be found here
Key | Value | Field |
Connection Name | Enter your connection details | Required |
Your Gmail email id | Required | |
Client Id | Your Google Client Id for self service authentication | Required |
Client Secret | Your Google Client Secret for self service authentication | Required |
Logfile** | Use the logfile option to debug your job and provide your connection name to generate the log file. [ConnectionConfigurationPath]\Connection_name_log.tx | Optional |
Verbosity** | Choose verbosity 1-5 based on the severity of debugging | Optional |
** For more information, check the Lyftron logging and debugging section.
If you want more detailed information about how to establish a connection with Lyftron, click on Lyftron Connection Quick Start guide.
Step4. Test your connection
Once you are done entering your connection details, simply click on the Test Connection button to test the connectivity. In case your connection fails, add Logfile and Verbosity parameters and check the Lyftron logging and debugging section, to debug the error.
Step5. Save your connection
Hurray! Now you have successfully connected with the Lyftron Gmail connector and can utilize the connector to Extract, Warehouse, Analyze, Visualize and Share your data.
Data Model
The provider models the data in Gmail into a list of tables that can be queried using standard SQL statements.
Generally, querying Gmail tables is the same as querying a table in a relational database. Sometimes there are special cases, for example, including a certain column in the WHERE clause might be required to get data for certain columns in the table. This is typically needed for situations where a separate request must be made for each row to get certain columns.
Name | Type | Description |
MailMessages | Tables | Create, update, delete, and query Gmail messages. |
Advanced Settings
To view a detailed advanced settings options, go to Gmail Advanced Settings. Complete list of the parameters you can configure in the connection string can be found by clicking Connection String Parameters