Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_EMAIL_SERVER_IMAP_SSL | No | Enable IMAP SSL | true |
| MCP_EMAIL_SERVER_PASSWORD | Yes | Email password | |
| MCP_EMAIL_SERVER_SMTP_SSL | No | Enable SMTP SSL | true |
| MCP_EMAIL_SERVER_FULL_NAME | No | Display name (defaults to email prefix if not provided) | |
| MCP_EMAIL_SERVER_IMAP_HOST | Yes | IMAP server host | |
| MCP_EMAIL_SERVER_IMAP_PORT | No | IMAP server port | 993 |
| MCP_EMAIL_SERVER_SMTP_HOST | Yes | SMTP server host | |
| MCP_EMAIL_SERVER_SMTP_PORT | No | SMTP server port | 465 |
| MCP_EMAIL_SERVER_USER_NAME | No | Login username (defaults to same as email if not provided) | |
| MCP_EMAIL_SERVER_ACCOUNT_NAME | No | Account identifier | default |
| MCP_EMAIL_SERVER_EMAIL_ADDRESS | Yes | Email address | |
| MCP_EMAIL_SERVER_IMAP_PASSWORD | No | Separate IMAP password | |
| MCP_EMAIL_SERVER_SMTP_PASSWORD | No | Separate SMTP password | |
| MCP_EMAIL_SERVER_IMAP_USER_NAME | No | Separate IMAP username | |
| MCP_EMAIL_SERVER_SMTP_START_SSL | No | Enable STARTTLS | false |
| MCP_EMAIL_SERVER_SMTP_USER_NAME | No | Separate SMTP username |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_available_accounts | - |
| add_email_account | - |
| page_email | Paginate emails, page start at 1, before and since as UTC datetime. |
| send_email | Send an email using the specified account. Recipient should be a list of email addresses. |