update_imap
Modify IMAP settings for a Gmail account, including enabling or disabling IMAP, setting expunge behavior for deleted messages, and defining folder size limits.
Instructions
Updates IMAP settings
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enabled | Yes | Whether IMAP is enabled for the account | |
expungeBehavior | No | The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder | |
maxFolderSize | No | An optional limit on the number of messages that can be accessed through IMAP |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Whether IMAP is enabled for the account",
"type": "boolean"
},
"expungeBehavior": {
"description": "The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder",
"enum": [
"archive",
"trash",
"deleteForever"
],
"type": "string"
},
"maxFolderSize": {
"description": "An optional limit on the number of messages that can be accessed through IMAP",
"type": "number"
}
},
"required": [
"enabled"
],
"type": "object"
}