Finding Info in Emails with LLMs and an MCP Server

2025-05-22

The author built an MCP server to give a Large Language Model (LLM) read-only access to their emails. Through a conversation with Gemini (an LLM), the author demonstrates how simple search and retrieval tools can be used to find Donovan's son's name within emails. While Gemini's initial search strategy employed multiple keywords (like "son," "boy," "baby"), most led to Donovan's relatives. Ultimately, Gemini identified clues from initial search results, analyzing email subject lines and content, successfully pinpointing the son's name as Monty. The process highlights the power of LLMs combined with specific tools for information retrieval, and underscores the importance of precise search strategies.

Development