mail-archive
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., "@mail-archiveShow me the three most recent emails about the budget in ProjectA"
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.
mail-archive
Per-project Outlook PST / live-folder mail archive with incremental sync. Designed to be driven either from a plain CLI or from any AI assistant (Claude, Gemini, ChatGPT, local LLMs) via an MCP server or by piping JSON output.
Status: pre-alpha. APIs and config schema will change.
What it does
Given one or more Outlook folders (or PST files) already split by project,
mail-archive incrementally ingests new mail into a per-project local
archive stored as JSON. Downstream tools (an AI, a script, a MCP client) can
then answer questions about that history without re-parsing Outlook every
time.
Related MCP server: Outlook MCP Server
Requirements
Windows + Outlook desktop (for the live-folder / COM source)
Python 3.11+
pip install mail-archive[outlook]for the pywin32 dependency
Only pywin32 is required for basic use; [mcp] adds AI-client support.
Quick start
# 1. Install
pip install "mail-archive[outlook]"
# 2. Create a config file (edit projects afterwards)
mail-archive init
# 3. Ingest the first batch (Outlook must be running)
mail-archive ingest --project "ProjectA"
# 4. Later, sync everything incrementally
mail-archive update-allConfig
~/.mail-archive/config.toml:
storage_dir = "~/.mail-archive/storage"
[[project]]
name = "ProjectA"
source = "outlook-folder"
folder = "Inbox/ProjectA"
auto_update = true
[[project]]
name = "ProjectB"
source = "outlook-folder"
folder = "Inbox/ProjectB"Using it from an AI assistant (MCP)
mail-archive ships a Model Context Protocol server so any MCP-capable client
— Claude Desktop, Cursor, Cline, Zed, Continue, and others — can query the
archive directly.
pip install "mail-archive[outlook,mcp]"Then point your client at the mail-archive-mcp command. Example config for
Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"mail-archive": {
"command": "mail-archive-mcp",
"args": ["--config", "C:/Users/you/.mail-archive/config.toml"]
}
}
}Cursor / Cline / Zed use the same shape — look for their mcpServers
JSON block and drop in the same command + args.
The server exposes four tools: list_projects, query_emails,
update_project, and update_all. Once loaded, you can ask the AI things
like "show me the three most recent emails about topic X in ProjectA" and
it will pick the right tool and arguments on its own.
Design
Storage layout is stable:
<storage_dir>/_index.json+<storage_dir>/<project>/emails.jsonl.Every CLI subcommand is pure Python and prints JSON on stdout (except
update-all, which is quiet by default).The MCP server is a thin wrapper over the same library functions — no subprocesses, no duplicated logic.
Sources are pluggable: implement one function in
mail_archive.sourcesand dispatch to it fromfetch_for_project.
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.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables semantic search and AI-powered analysis of Outlook emails using RAG-based natural language queries and Vision AI for architectural documents, with specialized support for AEC workflows.Last updatedMIT
- Alicense-qualityFmaintenanceEnables AI-powered email management for Microsoft Outlook, allowing users to search, compose, organize, and batch forward emails using natural language commands with 100% local processing.Last updated27MIT
- Flicense-qualityDmaintenanceProvides programmatic access to Microsoft Outlook mailboxes, enabling AI assistants to search, analyze, and extract insights from emails in personal and shared mailboxes.Last updated
- Alicense-qualityCmaintenanceEnables AI agents to manage Microsoft Outlook emails through the Microsoft Graph API, supporting operations like listing, reading, sending, and moving emails.Last updatedMIT
Related MCP Connectors
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/myeongmi-kim/mail-archive'
If you have feedback or need assistance with the MCP directory API, please join our Discord server