Skip to main content
Glama

iMail-mcp

set_flags

Set message flags like read, unread, or flagged status on iCloud emails to organize and manage your inbox efficiently.

Instructions

Set flags on messages (read, unread, flagged, etc.)

Input Schema

NameRequiredDescriptionDefault
actionNoWhether to add or remove the flags (default: add)add
flagsYesArray of flags to set (e.g., ["\Seen", "\Flagged"])
mailboxNoMailbox name (default: INBOX)INBOX
messageIdsYesArray of message IDs to set flags on

Input Schema (JSON Schema)

{ "properties": { "action": { "default": "add", "description": "Whether to add or remove the flags (default: add)", "enum": [ "add", "remove" ], "type": "string" }, "flags": { "description": "Array of flags to set (e.g., [\"\\Seen\", \"\\Flagged\"])", "items": { "type": "string" }, "type": "array" }, "mailbox": { "default": "INBOX", "description": "Mailbox name (default: INBOX)", "type": "string" }, "messageIds": { "description": "Array of message IDs to set flags on", "items": { "type": "string" }, "type": "array" } }, "required": [ "messageIds", "flags" ], "type": "object" }

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/Racimy/iMail-mcp'

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