Update Imap
|
|||||
|
|
Updates IMAP settings
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage your basic mail settings
Input
This building block consumes 5 input parameters
Name | Format | Description |
---|---|---|
userId Required |
STRING |
User's email address. The special value "me" can be used to indicate the authenticated user |
autoExpunge |
BOOLEAN |
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 |
enabled |
BOOLEAN |
Whether IMAP is enabled for the account |
expungeBehavior |
ENUMERATION |
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 |
= Parameter name
= Format
userId STRING Required User's email address. The special value "me" can be used to indicate the authenticated user |
autoExpunge BOOLEAN 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 |
enabled BOOLEAN Whether IMAP is enabled for the account |
expungeBehavior ENUMERATION 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 |
Output
This building block provides 4 output parameters
Name | Format | Description |
---|---|---|
autoExpunge |
BOOLEAN |
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 |
enabled |
BOOLEAN |
Whether IMAP is enabled for the account |
expungeBehavior |
ENUMERATION |
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 |
= Parameter name
= Format
autoExpunge BOOLEAN 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 |
enabled BOOLEAN Whether IMAP is enabled for the account |
expungeBehavior ENUMERATION 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 |