SuperAPI AI Directory

Claude-MCP-Read-Email-Attachments

Read Outlook email attachments via Microsoft Graph, parsing PDF, Word (including embedded images), Excel and text files into structured content.

Open website

About this tool

Purpose: This is a local stdio MCP server for Claude Desktop that reads Outlook emails and their attachment contents via the Microsoft Graph API, and supports sending local files (such as .pptx) as Outlook attachments. It fills the gap where Claude's built-in Microsoft 365 connector cannot read attachment contents.

Main capabilities: list recent emails and attachments; read the full body of a specified email (HTML to plain text); download and parse attachments locally, returning structured text and image blocks; supports PDF, Word (including embedded images), Excel, text, and other formats; v0.2.0 adds send_outlook_email, which can save local files as attachments as a draft (default) or send immediately (send_now: true), and adds read_email to read the body and list_recent_messages to return a body summary.

Usage: Requires Windows/macOS/Linux, Node.js 20+, a Microsoft 365 account, and a self-created Microsoft Entra app registration. In Entra, enable the public client flow, add the delegated permissions User.Read, Mail.ReadWrite, and Mail.Send and grant admin consent, and set requestedAccessTokenVersion to 2. Clone the repository, configure the client ID in .env, add a server entry in the mcpServers section of claude_desktop_config.json (use the absolute path to node for command, and args pointing to server.mjs), restart Claude Desktop, then run begin_auth to complete device code sign-in.

Use cases: sales operations reading Excel dashboards to analyze trends, finance extracting invoice PDF amounts and due dates, legal reviewing Word/PPT contracts, HR parsing resume PDFs and generating comparison tables, and saving local reports as draft attachments or sending them directly.

Limitations: Supports only a single user and single account; you must create an Entra app yourself and provide a client ID; each outbound attachment must be less than about 3 MB, and large-file chunked upload is not supported; very large images may be downsampled orskipped; legacy .xls parsing is less reliable than .xlsx; not suitable for public or multi-user hosting. The token cache is persisted locally, and re-authentication is required after the refresh token expires in about 90 days.