Mailspring MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mailspring MCP Servershow me recent emails from Alice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mailspring MCP Server Plugin
A Mailspring plugin that runs an MCP (Model Context Protocol) server, giving AI agents read-only access to your email data — threads, messages, contacts, folders, and labels.
The plugin uses Mailspring's own DatabaseStore API, making setup easy and seamless.
Installation
Use this if you want to install the plugin into Mailspring and run it normally.
Install dependencies and build the plugin:
npm install
npm run buildInstall the built plugin into Mailspring through Mailspring's plugin install flow, or place the built plugin directory in Mailspring's
packagesdirectory.Restart Mailspring. The MCP server starts automatically on
http://127.0.0.1:2525/mcp.
MCP Configuration
Import the configuration using the following JSON snippet, example vscode snippet included in repo:
{
"mcpServers": {
"mailspring": {
"url": "http://127.0.0.1:2525/mcp"
}
}
}Development
Use this if you are actively working on the plugin code.
Install dependencies and build:
npm install npm run buildLink the repo into Mailspring's
packagesdirectory so Mailspring loads your working copy:
./install.shRestart Mailspring.
Available Tools
Tool | Description |
| Full-text search with structured filters (from, to, subject, date range, folder, label, unread, starred, attachments). Supports FTS5 syntax: |
| Read a specific email with full plain-text body content and attachment list |
| Read multiple emails at once by ID — full body + attachments for each |
| List threads with filters (folder, label, unread, starred, date range, attachments). Returns enriched metadata: message count, last sender, reply status. |
| Read a full thread with all messages, reply status, attachment details, sanitized |
| List or search contacts by name/email |
| List all mailbox folders |
| List all email labels |
| Get recent emails with date range filtering and pagination |
| List draft emails with pagination |
| Get mailbox statistics |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/RyamosThomas/Mailspring-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server