Lenovmail
Synchronizes IMAP and Microsoft Graph accounts into a self-hosted PostgreSQL database, offering a web GUI, REST API, and a secure MCP for AI agents.
Lenovmail provides a self-hosted mail infrastructure designed to manage multiple mailboxes from both IMAP and Microsoft Graph providers under a single, unified database schema. It features a browser-based client, a comprehensive REST API, and an MCP server, explicitly built for integrating with AI agents. The platform focuses on secure automation by offering scoped tokens, per-account restrictions, hourly send limits, mandatory human approval, and detailed audit trails for every API call, ensuring controlled and auditable mail interactions for automated workflows.
主な機能
01Robust configuration discovery for mail servers, utilizing multiple resolution methods including autoconfig, .well-known, and ISPDB.
02Unified schema for IMAP and Microsoft Graph accounts, presenting all mailboxes consistently through a single API.
031 GitHub stars
04Agent-native security with scoped tokens, send limits, mandatory human approval, and audit logging for AI agent mail interactions.
05Prevents message loss on parallel sends by employing database locking mechanisms to ensure unique message delivery.
06Self-healing account state management that automatically re-checks rejected credentials and restores or retires accounts as needed.
ユースケース
01Building custom mail clients or backend services that need a unified API for diverse email providers.
02Enabling secure and auditable email sending and reading capabilities for AI agents with human oversight.
03Integrating multiple email accounts (IMAP and Microsoft Graph) into automation workflows with AI agents.