Skip to main content
Glama

update_imap

Configure IMAP access for your Gmail account by enabling or disabling the protocol, setting message deletion behavior, and managing folder size limits.

Instructions

Updates IMAP settings

Input Schema

NameRequiredDescriptionDefault
enabledYesWhether IMAP is enabled for the account
expungeBehaviorNoThe action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder
maxFolderSizeNoAn optional limit on the number of messages that can be accessed through IMAP

Input Schema (JSON Schema)

{ "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" }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HitmanLy007/gmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server