Skip to main content

settings_imap

Overview

Namesettings_imap
TypeResource
Idgoogleworkspace.gmail.settings_imap

Fields

NameDatatypeDescription
enabledbooleanWhether IMAP is enabled for the account.
expungeBehaviorstringThe action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
maxFolderSizeintegerAn 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.
autoExpungebooleanIf 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.

Methods

NameAccessible byRequired Params
users_settings_getImapSELECTuserId