Email MCP Server
by gabigabogabu
The Email MCP Server is a Model Context Protocol server designed for email integration. It enables model assistants to interact with email accounts using IMAP and SMTP protocols.
Last updated: N/A
What is Email MCP Server?
This server is a Model Context Protocol (MCP) server that allows model assistants to access and interact with email accounts. It uses IMAP to read emails and SMTP to send emails.
How to use Email MCP Server?
To use this server, clone the repository, install dependencies, configure the .env
file with your email account credentials, and then run the server in development or production mode using npm run dev
or npm run build && npm start
respectively. The server exposes MCP resources and tools for interacting with emails.
Key features of Email MCP Server
Read emails from IMAP mailboxes
Send emails via SMTP
Search emails
List email folders
Use cases of Email MCP Server
Automated email responses
Email summarization for model assistants
Email-based task management
Integration with AI models for email processing
FAQ from Email MCP Server
What protocols does this server use?
What protocols does this server use?
This server uses IMAP for reading emails and SMTP for sending emails.
What are the prerequisites for running this server?
What are the prerequisites for running this server?
You need Node.js (v16 or higher), npm or yarn, and an email account with IMAP and SMTP access.
How do I configure the server?
How do I configure the server?
Create a .env
file with your email account credentials (EMAIL_USER, EMAIL_PASSWORD, IMAP_HOST, IMAP_PORT, SMTP_HOST, SMTP_PORT).
How do I run the server in development mode?
How do I run the server in development mode?
Use the command npm run dev
.
What MCP resources and tools are exposed?
What MCP resources and tools are exposed?
The server exposes MCP resources like mailto:<email-address>/inbox
and mailto:<email-address>/folders
, and tools like send_email
, search_emails
, and list_folders
.