Search Microsoft 365 Emails with AI on Mac

Let your AI assistant search your Microsoft 365 mailbox by keyword, sender, or subject — locally on your Mac. No API keys, no cloud, nothing stored. Free with LMCP.

L
LMCP··5 min read

m365_search_emails lets your AI assistant search your Microsoft 365 mailbox by keyword, sender, or subject — without you opening Outlook on the web or scrolling endlessly. You just ask in plain language and the AI finds the messages that match. For example, you can type: "Search my Microsoft 365 email for invoices from Acme Corp sent last month." The assistant returns the matching messages so you can act on them immediately.

This is a read-only tool: it finds and surfaces emails, it never deletes or sends anything. It runs through LMCP, a free, native macOS MCP server with 150+ tools that connects your AI assistant to your real Mac apps and accounts.

Which AI agents work?

m365_search_emails works with every major MCP-capable assistant:

  • Claude Desktop, Cursor, VS Code (GitHub Copilot), Windsurf and Zed — these desktop clients auto-configure via local stdio, so the tool just appears.
  • Claude.ai (web), ChatGPT, Grok and Perplexity — these web AIs connect through the LMCP Cloud Relay connector, which securely bridges to the server running on your Mac.

Once LMCP is installed and your client is restarted, the assistant discovers the tool automatically.

Automation

The real power comes from chaining. Because the AI can call multiple LMCP tools in sequence, a single request can span several apps. Ask it to "find the latest email from my supplier about the Q3 contract and add a reminder to reply by Friday" and it will run m365_search_emails, read the matching message, then create the reminder. Or have it search for a thread, summarize it, and draft a calendar event from the details — all without you switching windows.

Context

Unlike a generic chatbot, your AI now works with your actual Microsoft 365 data. It searches the real mailbox tied to your work or school account, so the results reflect your live inbox — current senders, real subject lines, recent threads. That means answers grounded in your own correspondence, not guesses or stale snapshots.

Productivity

Hunting for a specific email usually means opening Outlook, fiddling with the search box, and refining filters. With m365_search_emails you ask once in natural language and get the right messages back in seconds. Combined with other LMCP tools, a task like "find the onboarding email and forward the key dates to my calendar" becomes one sentence instead of a five-minute manual chore. Over a workday those saved minutes add up.

Privacy & GDPR

Everything runs locally on your Mac. m365_search_emails queries your mailbox from your own machine and returns results straight to your AI client — there are no API keys to manage, no LMCP cloud account, and no copy of your email stored on any server. Your data never leaves your device through LMCP. This makes LMCP GDPR-compliant by architecture: because nothing is centralized, there is no third-party data processor to trust.

Ready to try it? Download LMCP free and let your AI search your Microsoft 365 inbox for you.

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download LMCP (.dmg)
FreemacOS 12+ · Apple Silicon & Intel

✦ llms.txt