Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging | false |
| MAILBOX_EMAIL | Yes | Your mailbox.org email address (required) | |
| CACHE_MAX_SIZE | No | Maximum cache entries (must be a positive integer) | 1000 |
| POOL_TIMEOUT_MS | No | Connection acquire timeout in milliseconds (must be at least 1000ms) | 15000 |
| MAILBOX_PASSWORD | Yes | Your mailbox.org app password (required) | |
| MAILBOX_CALENDARS | No | Comma-separated list of calendars to access | |
| MAILBOX_IMAP_HOST | No | IMAP server host | imap.mailbox.org |
| MAILBOX_IMAP_PORT | No | IMAP server port (must be a valid port number 1-65535) | 993 |
| MAILBOX_SMTP_HOST | No | SMTP server host | smtp.mailbox.org |
| MAILBOX_SMTP_PORT | No | SMTP server port (must be a valid port number 1-65535) | 465 |
| MAILBOX_CALDAV_URL | No | CalDAV server URL | https://dav.mailbox.org/ |
| MAILBOX_SIEVE_HOST | No | Sieve server host | imap.mailbox.org |
| MAILBOX_SIEVE_PORT | No | Sieve server port (must be a valid port number 1-65535) | 4190 |
| MAILBOX_IMAP_SECURE | No | Use TLS encryption for IMAP | true |
| MAILBOX_SMTP_SECURE | No | Use TLS encryption for SMTP | true |
| MAILBOX_SIEVE_SECURE | No | Use TLS encryption for Sieve | false |
| POOL_HEALTH_CHECK_MS | No | Health check frequency in milliseconds (must be at least 1000ms) | 6000 |
| POOL_IDLE_TIMEOUT_MS | No | Idle connection timeout in milliseconds (must be at least 1000ms) | 30000 |
| POOL_MAX_CONNECTIONS | No | Maximum total connections (must be between 1 and 100) | 2 |
| CACHE_CLEANUP_INTERVAL | No | Cache cleanup frequency in milliseconds (must be at least 1000ms) | 300000 |
| CACHE_EMAIL_SEARCH_TTL | No | Email search cache TTL in milliseconds | 300000 |
| CACHE_EMAIL_THREAD_TTL | No | Email thread cache TTL in milliseconds | 300000 |
| CACHE_EMAIL_MESSAGE_TTL | No | Email message cache TTL in milliseconds | 600000 |
| CACHE_CALENDAR_EVENTS_TTL | No | Calendar events cache TTL in milliseconds | 900000 |
| CACHE_CALENDAR_FREEBUSY_TTL | No | Calendar free/busy cache TTL in milliseconds | 300000 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |