Fastmail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FASTMAIL_BASE_URL | No | The Fastmail API base URL (optional, defaults to https://api.fastmail.com) | https://api.fastmail.com |
| FASTMAIL_API_TOKEN | Yes | Your Fastmail API token (required). Get it from Settings → Privacy & Security → Connected apps & API tokens → New API token |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_mailboxesA | List all mailboxes in the Fastmail account |
| list_emailsC | List emails from a mailbox |
| get_emailB | Get a specific email by ID |
| send_emailB | Send an email |
| reply_emailA | Reply to an existing email with proper threading headers (In-Reply-To, References). Automatically fetches the original email to build the reply chain. By default sends immediately; set send=false to save as a draft instead. |
| create_draftA | Create an email draft without sending it. Supports threading headers for replies. IMPORTANT: each call creates a new draft — do not call twice for the same message. |
| edit_draftA | Edit an existing draft email. Since JMAP emails are immutable, this atomically destroys the old draft and creates a new one with the updated fields. Only fields you provide will be changed; others are preserved from the original draft. |
| send_draftA | Send an existing draft email. The draft must have recipients (to/cc/bcc) and a from address. After sending, the email is moved to the Sent folder and the draft keyword is removed. |
| search_emailsC | Search emails by subject or content |
| list_contactsC | List contacts from the address book |
| get_contactA | Get a specific contact by ID |
| search_contactsB | Search contacts by name or email |
| list_calendarsB | List all calendars |
| list_calendar_eventsB | List events from a calendar |
| get_calendar_eventA | Get a specific calendar event by ID |
| create_calendar_eventC | Create a new calendar event |
| list_identitiesA | List sending identities (email addresses that can be used for sending) |
| get_recent_emailsC | Get the most recent emails from inbox (like top-ten) |
| mark_email_readC | Mark an email as read or unread |
| pin_emailB | Pin or unpin an email |
| delete_emailA | Delete an email (move to trash) |
| move_emailB | Move an email to a different mailbox |
| add_labelsA | Add labels (mailboxes) to an email without removing existing ones |
| remove_labelsB | Remove specific labels (mailboxes) from an email |
| get_email_attachmentsA | Get list of attachments for an email |
| download_attachmentA | 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. |
| advanced_searchC | Advanced email search with multiple criteria |
| get_threadB | Get all emails in a conversation thread |
| get_mailbox_statsB | Get statistics for a mailbox (unread count, total emails, etc.) |
| get_account_summaryA | Get overall account summary with statistics |
| bulk_mark_readB | Mark multiple emails as read/unread |
| bulk_pinB | Pin or unpin multiple emails |
| bulk_moveC | Move multiple emails to a mailbox |
| bulk_deleteB | Delete multiple emails (move to trash) |
| bulk_add_labelsB | Add labels to multiple emails simultaneously |
| bulk_remove_labelsB | Remove labels from multiple emails simultaneously |
| check_function_availabilityA | Check which MCP functions are available based on account permissions |
| test_bulk_operationsB | Test bulk operations by finding recent emails and performing safe operations (mark read/unread) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/MadLlama25/fastmail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server