Skip to main content
Glama

iMail-mcp

download_attachment

Download attachments from iCloud email messages by specifying the message ID and attachment index to retrieve files from your mailbox.

Instructions

Download an attachment from a specific message

Input Schema

NameRequiredDescriptionDefault
attachmentIndexNoIndex of the attachment to download (0-based)
mailboxNoMailbox name (default: INBOX)INBOX
messageIdYesMessage ID containing the attachment

Input Schema (JSON Schema)

{ "properties": { "attachmentIndex": { "default": 0, "description": "Index of the attachment to download (0-based)", "type": "number" }, "mailbox": { "default": "INBOX", "description": "Mailbox name (default: INBOX)", "type": "string" }, "messageId": { "description": "Message ID containing the attachment", "type": "string" } }, "required": [ "messageId" ], "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