Cleaning Up 7,700 Emails From the Terminal With MCP, Gmail API and Microsoft Graph
A developer used the Model Context Protocol (MCP) with Claude Code to automate the cleanup of over 7,700 emails from Gmail and Outlook. The process involved creating custom filters and automated unsubscribes, significantly reducing inbox clutter. The setup required navigating specific API configurations for both Google and Microsoft, including resolving OAuth issues and patching community-developed MCP servers for Outlook to enable necessary permissions. AI
IMPACT Demonstrates practical application of LLMs for task automation, potentially inspiring similar workflows for inbox management.