Back to Home
gomcpgo icon

email

Verified Safe

by gomcpgo

Overview

A Model Context Protocol (MCP) server for managing email operations via IMAP and SMTP, designed for LLM integration with multi-account support, caching, and draft management.

Installation

Run Command
./run.sh run

Environment Variables

  • DEFAULT_ACCOUNT_ID
  • ACCOUNT_{account_id}_EMAIL
  • ACCOUNT_{account_id}_PASSWORD
  • ACCOUNT_{account_id}_PROVIDER
  • ACCOUNT_{account_id}_IMAP_SERVER
  • ACCOUNT_{account_id}_IMAP_PORT
  • ACCOUNT_{account_id}_SMTP_SERVER
  • ACCOUNT_{account_id}_SMTP_PORT
  • FILES_ROOT
  • EMAIL_CACHE_MAX_SIZE
  • EMAIL_MAX_ATTACHMENT_SIZE

Security Notes

The server explicitly uses app passwords for Gmail/Outlook for enhanced security. Sensitive credentials are read from environment variables and are stated to never be logged or exposed in error messages. Communication uses TLS for IMAP/SMTP. Cache files are stored with standard 0644 permissions. No obvious use of 'eval' or other highly dangerous dynamic execution methods within the Go source code. The `.env` file should be secured and not committed to version control.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-29

Tags

EmailIMAPSMTPMulti-accountCachingDraftingLLM-friendly