mail_download_attachment
Save a specific attachment to a temp file by default, or return inline base64 for small attachments
How to use it
Project documentation lists mail_download_attachment for the Infomaniak MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Infomaniak MCP
node /absolute/path/to/infomaniak-mcp/dist/index.jsOther tools in Infomaniak MCP (39)
Registers the normal assistant-facing stable service set.
Registers Calendar, Tasks, and Contacts tools.
Create a new event with optional attendees, RRULE recurrence, and reminder offsets
Delete a calendar event; requires exact confirmation
List all available calendars
List events in a date range (ISO 8601 dates)
Update an existing event, including recurrence/reminder changes or clears
Registers kDrive and kPaste tools.
Requires: INFOMANIAKTOKEN + KDRIVEID
Registers only mail tools and mail workflow tools.
Add a sender email, @domain shorthand, or Infomaniak wildcard pattern to blocked senders and remove it from authorized senders
Recompute the preview selection and move matching messages to Trash when token and phrase match
Preview sender-based bulk cleanup and return a selection token plus exact confirmation phrase
Create a mail folder, optionally under a parent folder
Move a message to Trash
Delete a mail folder; requires exact confirmation
List mailbox Sieve filters and scripts (read-only)
Find messages from an exact sender email or @domain across selected folders
Add/remove flags (\\Seen, \\Flagged, \\Answered)
List all mail folders (INBOX, Sent, Drafts, etc.)
List mailboxes available to the Mail API token
List messages in a folder (newest first, paginated)
Mark explicit message UIDs as spam with an exact confirmation phrase
Move a message to a different folder
Query message summaries with filters and an opaque nextCursor
Read one email; defaults to metadata only, with opt-in body/header/thread fields
Rename a mail folder while preserving its parent path
Save a draft without sending; supports Mail API attachments with IMAP Drafts fallback
Search by subject, body, or sender
Send email with plain text/HTML, attachments, CC/BCC, and reply threading
Enable/disable spam auto-move with an exact confirmation phrase
Confirm a spam cleanup preview with token and exact phrase before blocking or marking messages
Preview blocking a sender/domain and optionally marking existing matching messages as spam
Read spam auto-move state plus authorized and blocked senders
Remove a sender from blocked senders
Guide a safe preview-before-confirm sender cleanup workflow.
Combine upcoming calendar events, contacts, and recent mail metadata into a meeting brief.
Registers a focused mail cleanup surface: list/query/read, sender cleanup preview/confirm, spam cleanup preview/confirm, spam settings, filter listing, and cleanup workflow tools.
Start from mailquery, read only the few bodies needed, and summarize by priority/deadline/sender.