š¤ Outlook MCP Server
AI-powered email management for Microsoft Outlook - Search, compose, organize, and batch forward emails with natural language commands.
ā This saved you time? ā
š Quick Start (2 Minutes)
What You'll Get
Smart Email Search: "Find emails about budget approval from last week"
AI Email Writing: Draft replies with context-aware suggestions
Easy Organization: Create folders and move emails with simple commands
Batch Forwarding: Send emails to 100s of recipients in minutes, not hours
š¤ AI Behavior & Workflow
The agent_prompt_template.md defines how the AI assistant behaves when managing emails:
Purpose: Guide the AI's workflow for email search, summarization, and drafting
Key Rules: AND logic for searches, 5-by-5 email display, confirmation before sending
Safety: Built-in constraints ensure user control and prevent unauthorized actions
How to Use: Copy the template content and use it to configure your AI assistant
See the
Why Choose Outlook MCP Server?
Feature | Outlook MCP Server | Traditional Outlook | Outlook Add-ins |
AI Email Search | ā "Find urgent emails from my boss" | ā Manual folder browsing | ā ļø Basic search only |
Natural Language | ā "Show me budget emails from last week" | ā Complex filters needed | ā ļø Limited keywords |
Batch Forward 100+ Emails | ā 2 minutes with CSV | ā 50+ minutes manual | ā ļø 20+ minutes |
AI Email Writing | ā Context-aware replies | ā Manual composition | ā ļø Basic templates |
Setup Time | ā 2 minutes | ā Already installed | ā 10-30 minutes |
Privacy | ā 100% local processing | ā Local only | ā ļø Cloud-dependent |
Cost | ā Completely free | ā Included | š° $5-50/month |
Learning Curve | ā Natural language | ā Familiar interface | ā ļø New interface |
Real-World Impact
Before: "I need to forward this email to 150 team members..."
Manual: Click Forward ā Type each email ā Send ā 2+ hours wasted
Traditional Outlook: Create distribution list ā Add members ā Forward ā 30+ minutes
After: "Forward this email to everyone in team.csv"
Outlook MCP Server: Load CSV ā AI forwards to all ā 2 minutes total
Time Saved: 48+ minutes per batch operation!
Requirements
ā Python 3.8+
ā Microsoft Outlook 2016+ (must be running)
ā Windows 10+
Installation & Setup
Method 1: UVX (Recommended - Auto Dependencies)
Method 2: Standard Python
Method 3: Direct Source (Development)
Test Your Setup ā
Ask your AI assistant: "Show me my recent emails" - if it works, you're ready!
Configuration Troubleshooting š ļø
Common Issues & Solutions:
Problem | Check This | Solution |
"uvx not found" | Is UV installed? |
then retry |
"python not found" | Python in PATH? | Use full path like
|
"Outlook not running" | Outlook window open? | Start Outlook first, then restart MCP |
"Permission denied" | Admin rights? | Run terminal as administrator |
"Module not found" | Dependencies installed? |
|
Configuration Verification:
MCP Client-Specific Setup:
Claude Desktop:
Open Claude Desktop settings
Find "MCP Servers" section
Click "Add Server" ā "Custom"
Paste the JSON configuration
Restart Claude Desktop
Other MCP Clients:
Look for "MCP Configuration" or "Server Settings"
Add the JSON to your client's config file
Usually located at:
~/.config/[client]/mcp.json
Still Stuck? Report an issue with your error message and setup details.
šÆ Core Features
Email Management
Search: Find emails by subject, sender, content, or date range
Compose: Write new emails with AI assistance
Reply: Smart replies that understand conversation context
Batch Forward: Send emails to 100s of recipients from CSV files (saves hours!)
Folder Management
List: See all your Outlook folders
Create: Make new folders with simple commands
Move: Organize emails between folders
Delete: Remove folders (careful - this is permanent!)
š§ Batch Forwarding: Save Hours on Email Distribution
Real-World Use Cases
šÆ Team Updates
Forward weekly reports to your entire team
Send important updates to all team members
Distribute project updates to stakeholders
š Marketing Campaigns
Send newsletters to subscriber lists
Forward promotional emails to customer segments
Distribute event invitations to contact groups
š¢ Corporate Communications
Send policy updates to all employees
Forward training materials to departments
Distribute announcements to company distribution lists
š How It Works
Simple Workflow
Load emails: "Show me recent emails" ā Emails appear in cache
Browse results: View 5 emails per page with clear formatting
Take action: Reply, move, delete, or get AI summary
Confirm before sending: AI always asks before sending emails
AI Assistant Behavior
Understands natural language: "Find urgent emails from my boss"
Shows email summaries: One-line overview + key action items
Drafts with context: Replies understand the conversation
Never sends without permission: Always confirms before sending
Batch Forwarding Workflow
1. Prepare Your CSV File
2. Use Natural Language
3. AI Handles the Rest
Automatically splits large lists (max 500 per batch)
Sends via BCC to protect recipient privacy
Adds your custom message before original email
Provides delivery confirmation
Time Savings
Manual forwarding: 100 emails Ć 30 seconds = 50 minutes Batch forwarding: 30 seconds setup + 2 minutes processing = 2.5 minutes You save: 47.5 minutes per batch!
š§ Common Commands
Try these with your AI assistant:
š ļø Essential Tools
Email Search & Loading
list_recent_emails_tool(days=7)- Load recent emails (max: 30 days)search_email_by_subject_tool("search term")- Search email subjectssearch_email_by_sender_name_tool("sender name")- Search by sendersearch_email_by_body_tool("search term")- Search email content (slower)
Email Actions
view_email_cache_tool(page=1)- Browse loaded emails (5 per page)get_email_by_number_tool(email_number)- Get full email detailsreply_to_email_by_number_tool(email_number, "reply text")- Reply to emailcompose_email_tool("recipient@email.com", "subject", "body")- Send new email
Folder Operations
get_folder_list_tool()- Always use first to see available folderscreate_folder_tool("folder name")- Create new foldermove_email_tool(email_number, "target folder")- Move email between foldersmove_folder_tool("source", "target")- Move folders
Safety Notes
Always check folder list first before moving/deleting
Emails are cached - use numbers from cache for operations
Never sends without confirmation - AI always asks before sending
ā” Performance
Loads 100 emails in ~2 seconds
Searches complete in real-time
All processing happens locally (your data stays private)
ā Quality & Reliability
Robust Validation System
Input Validation: All user inputs are validated before processing
Custom Error Messages: Clear, actionable error messages for common issues
Safety Checks: Prevents invalid operations before they cause problems
Comprehensive Testing
145+ Unit Tests: Every feature thoroughly tested
Configuration Coverage: All settings and constants validated
Edge Case Handling: Tested against unusual inputs and scenarios
Continuous Quality: Tests run on every change to ensure reliability
What This Means for You
Fewer Errors: Validation catches mistakes before they cause problems
Better Error Messages: Know exactly what went wrong and how to fix it
Reliable Operation: Comprehensive testing ensures consistent performance
Safe Operations: Built-in safeguards prevent accidental data loss
š”ļø Privacy & Security
100% Local Processing: No data leaves your computer
No Cloud Services: Works entirely offline
Secure by Design: Uses your existing Outlook installation
š Need Help?
Check the agent prompt template for AI assistant setup
See configuration examples for different installation methods
Report issues on the GitHub repository
ā Love saving time on email?
š” Quick star tip: Click the ā button above - it takes 2 seconds and supports open-source email AI!