imap-mcp
An open-source IMAP MCP server that exposes email operations as tools for AI assistants. It allows agents to connect to any IMAP-compatible email server and create draft messages saved to the server's drafts folder, supporting secure authentication via environment variables.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Create draft emails in the IMAP server's drafts folder
- Connect to any IMAP-compatible email server like Gmail or Outlook
- Expose IMAP operations as tools for AI assistants
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
imap-mcp 0.1.1
{
"version": "0.1.1",
"transport": "stdio",
"identifier": "imap-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "IMAP_HOST",
"format": "string",
"isRequired": true,
"description": "Hostname of the IMAP server (e.g. imap.example.com)"
},
{
"name": "IMAP_PORT",
"format": "number",
"default": "993",
"description": "Port of the IMAP server"
},
{
"name": "IMAP_USERNAME",
"format": "string",
"isRequired": true,
"description": "Username for IMAP authentication, also the default From address"
},
{
"name": "IMAP_PASSWORD",
"format": "string",
"isRequired": true,
"description": "Password for IMAP authentication"
},
{
"name": "IMAP_USE_SSL",
"format": "boolean",
"default": "false",
"description": "Set to true to connect over TLS"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"imap-mcp@0.1.1"
],
"env": {
"IMAP_HOST": "<YOUR_IMAP_HOST>",
"IMAP_PORT": "<YOUR_IMAP_PORT>",
"IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
"IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
"IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
}
}
}
}Cline
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"imap-mcp@0.1.1"
],
"env": {
"IMAP_HOST": "<YOUR_IMAP_HOST>",
"IMAP_PORT": "<YOUR_IMAP_PORT>",
"IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
"IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
"IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
}
}
}
}VS Code
{
"servers": {
"imap-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"imap-mcp@0.1.1"
],
"env": {
"IMAP_HOST": "<YOUR_IMAP_HOST>",
"IMAP_PORT": "<YOUR_IMAP_PORT>",
"IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
"IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
"IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"imap-mcp@0.1.1"
],
"env": {
"IMAP_HOST": "<YOUR_IMAP_HOST>",
"IMAP_PORT": "<YOUR_IMAP_PORT>",
"IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
"IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
"IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
}
}
}
}Let your agent find its tools
Find servers like imap-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.