Getting Started
Connecting to Gmail
For information on the available WHL and TAR.GZ files for supported environments, and how to install the appropriate file for your Python distribution, see Package Installation.For information on the module to import, and how to configure the necessary connection properties in a connection string, see Establishing a Connection.
Other available connection properties can be used to configure other aspects of the connector capabilities.
Python Version Support
The CData Python Connector for Gmail can be installed and used in various Python 3.8, 3.9, 3.10, and 3.11 distributions.
Gmail Version Support
The connector is a standard IMAP and POP client, as well as an SMTP server. The connector models your account's mailboxes as bidirectional tables, enabling you to send, move, delete, and search messages through standard SQL.
See Also
- Using the Connector: Establish connections and query Gmail through Python code.
- From SQLAlchemy: Use SQLAlchemy to establish a connection with dialect URL, and interact with Gmail data using mapped classes and Sessions.