CData Python Connector for Gmail

Build 25.0.9454

GetImap

Query IMAP settings.

Stored Procedure Specific Information

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/gmail.settings.basic


EXECUTE GetImap

Result Set Columns

Name Type Description
Enabled Bool Whether IMAP is enabled for the account.
AutoExpunge Bool If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.
ExpungeBehavior String The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
MaxFolderSize Integer An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454