Open Source Rust MCP Server Gives Claude Full Email Management Capabilities

✍️ OpenClawRadar📅 Published: March 20, 2026🔗 Source
Open Source Rust MCP Server Gives Claude Full Email Management Capabilities
Ad

A developer has created an open source MCP server in Rust that enables Claude to manage email workflows end-to-end, addressing limitations in existing email MCP servers that were read-only, single-account, and lacked OAuth2 support.

Key Features and Capabilities

The server provides Claude with 25 specific tools for email management:

  • Full IMAP operations: Search, read (both parsed and raw RFC822 formats), flag, copy, move, delete, and create folders
  • SMTP functionality: Compose and send emails with correct threading headers for replies and forwards
  • Microsoft Graph API integration: Support for Outlook/365 accounts where SMTP is blocked
  • Authentication: OAuth2 device code flow for Google and Microsoft accounts, plus app password support
  • Multi-account management: Works with Gmail, Outlook, Zoho, Fastmail, and any IMAP server
Ad

Safety and Security Features

The developer implemented several safety measures since the tool gives AI access to email inboxes:

  • Write operations are disabled by default and only enabled per-account via configuration flags
  • TLS enforcement for all connections
  • Credentials are never logged

The developer reports daily use with Claude Code, noting solid performance with multiple accounts handled concurrently without issues. The tool is available under the MIT license at https://github.com/tecnologicachile/mail-imap-mcp-rs.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also