mcp-server-outlook-email

mcp-server-outlook-email

8

This MCP server provides email processing capabilities by integrating with Outlook, MongoDB, and SQLite. It supports features such as date-filtered email processing and generates vector embeddings for advanced search. The project emphasizes resource management and security to handle email data efficiently and safely.

Email Processing MCP Server

This MCP server offers comprehensive email processing capabilities with integration into MongoDB for semantic search and SQLite for efficient storage and retrieval of data.

Features

  • Processes emails from Outlook with date filtering
  • Uses SQLite to manage email storage and connections
  • Generates vector embeddings via Ollama for enhanced search
  • Supports multiple mailboxes and various Outlook folders

Upcoming Features

  • Semantic email search and summarization
  • Email categorization and customizable reports
  • New database options with integration of Neo4j and ChromaDB

Prerequisites

  • Python 3.10+
  • Local Ollama installation for embedding
  • Microsoft Outlook on Windows
  • MongoDB for embedding storage

Installation

  1. Install uv and create a virtual environment.
  2. Activate the virtual environment and install dependencies.
  3. Ensure Ollama is running locally for model requirements.

Configuration

Configure the server in the Claude for Desktop configuration file to handle server commands and environmental variables, ensuring path accuracy.

Architecture

  • Uses SQLite for primary storage and full-text search.
  • Incorporates MongoDB for vector embeddings and semantic search.

Resource Management

Implements robust management to prevent issues, maintaining open connections during operation and ensuring proper closure upon shutdown.

Security Notes

Processes emails from specified mailboxes, ensuring sensitive data isn't exposed.

Debugging

Verify proper process execution, Ollama server operation, SQLite accessibility, and MongoDB connectivity if issues arise.