Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_TLS | No | Whether to use TLS for the IMAP connection. | true |
| IMAP_HOST | Yes | The hostname of the IMAP server (e.g., imap.example.com). | |
| IMAP_PORT | No | The port number for the IMAP server. | 993 |
| IMAP_USER | Yes | The email address to connect to the IMAP server (e.g., your-email@example.com). | |
| SMTP_HOST | No | The hostname of the SMTP server. Defaults to IMAP settings if not specified. | |
| SMTP_PORT | No | The port number for the SMTP server. | 465 |
| SMTP_USER | No | The username for the SMTP server. Defaults to IMAP settings if not specified. | |
| SMTP_SECURE | No | Whether to use a secure connection for SMTP. | true |
| IMAP_PASSWORD | Yes | The app-specific password for the email account. | |
| SMTP_PASSWORD | No | The password for the SMTP server. Defaults to IMAP settings if not specified. | |
| IMAP_AUTH_TIMEOUT | No | Authentication timeout in milliseconds. | 10000 |
| IMAP_TLS_REJECT_UNAUTHORIZED | No | Whether to reject unauthorized TLS certificates. | true |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_folders | List all email folders/mailboxes in the IMAP account |
| list_emails | List emails from a folder with optional filtering |
| get_email | Get full email content by UID |
| search_emails | Search emails by subject, from, or body text |
| list_drafts | List all draft emails |
| get_draft | Get a specific draft email by UID |
| create_draft | Create a new draft email |
| update_draft | Update an existing draft by deleting old and creating new |
| send_email | Send an email directly |
| delete_email | Delete an email by UID |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |