savePath
may be absolute or relative. Relative paths (including a bare filename) resolve against the download directory, so an attachment lands there in one step. Absolute paths must fall within that directory; traversal or symlink escape outside it is rejected. To save directly into your own location, set F
How to use it
savePath is exposed by the Fastmail MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the savePath tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Fastmail MCP
npx @anthropic-ai/dxt packOther tools in Fastmail MCP (39)
Add labels (mailboxes) to an email without removing existing ones
Powerful multi-criteria email filtering
Same filters as advancedsearch, metadata-only results (no body content)
Archive an email — moves it and marks it read in one atomic step
Add labels to multiple emails simultaneously
Delete multiple emails (move to trash)
Mark multiple emails as read/unread
Move multiple emails to a mailbox
Pin or unpin multiple emails
Remove labels from multiple emails simultaneously
Check what's available and get setup guidance
Create an email draft (at least one of to/subject/body/attachments required; supports threading headers for reply drafts)
Create a new mailbox (folder/label)
Delete an email (move to trash)
Download an email attachment. If savePath is provided, saves the file to disk and returns the file path and size. Otherwise returns a download URL.
Edit an existing draft in place — only provided fields change; existing attachments are preserved
Get overall account summary with statistics
Get a specific email by ID
Get list of attachments for an email
Get a specific email's metadata only (allowlisted headers, no body)
Look up a mailbox by its full path from the root (e.g. Inbox/Receipts)
Get statistics for a mailbox (unread count, total emails, etc.)
Quick access to recent emails from any mailbox
Get all emails in a conversation thread
Get all emails in a thread, metadata only. Also accepts an email ID and resolves its parent thread.
List emails from a specific mailbox or all mailboxes
List emails from a mailbox, metadata only (headers, no body content)
Get all mailboxes in your account. On accounts with many mailboxes the full output can be large — pass properties for a slim view.
Mark an email as read or unread
Move an email to a different mailbox (replaces all mailboxes)
Pin or unpin an email
Remove specific labels (mailboxes) from an email
Reply to an existing email with proper threading headers (automatically builds In-Reply-To and References). Set send=false to save as draft instead of sending.
Save an attachment directly to WebDAV cloud storage (Fastmail Files, Nextcloud, ...) without touching local disk
Search emails by content
Search emails by content, returning metadata only
Send an existing draft
Full-featured email sending with proper draft/sent handling
Safely test bulk operations with dry-run mode