Skip to main content
Glama

iMail-mcp

auto_organize

Automatically organize emails by moving them to specific mailboxes based on sender or subject keyword rules you define.

Instructions

Automatically organize emails based on rules (sender, subject keywords, etc.)

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, only shows what would be organized without moving emails
rulesYesArray of organization rules
sourceMailboxNoSource mailbox to organize (default: INBOX)INBOX

Input Schema (JSON Schema)

{ "properties": { "dryRun": { "default": false, "description": "If true, only shows what would be organized without moving emails", "type": "boolean" }, "rules": { "description": "Array of organization rules", "items": { "properties": { "action": { "properties": { "moveToMailbox": { "description": "Mailbox to move matching emails to", "type": "string" } }, "required": [ "moveToMailbox" ], "type": "object" }, "condition": { "properties": { "fromContains": { "description": "Move emails if sender contains this text", "type": "string" }, "subjectContains": { "description": "Move emails if subject contains this text", "type": "string" } }, "type": "object" }, "name": { "description": "Rule name", "type": "string" } }, "required": [ "name", "condition", "action" ], "type": "object" }, "type": "array" }, "sourceMailbox": { "default": "INBOX", "description": "Source mailbox to organize (default: INBOX)", "type": "string" } }, "required": [ "rules" ], "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