80 lines
2.1 KiB
Plaintext
80 lines
2.1 KiB
Plaintext
# MCP Email Server - Docker Environment Variables
|
|
|
|
# MCP API key (Bearer auth for /mcp endpoints)
|
|
# If set, all /mcp requests must include: Authorization: Bearer <API_KEY>
|
|
API_KEY=
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
|
|
# IMAP (incoming mail) - used only if ACCOUNTS_JSON/ACCOUNTS_CONFIG_PATH not set
|
|
IMAP_HOST=imap.example.com
|
|
IMAP_PORT=993
|
|
IMAP_USE_SSL=true
|
|
IMAP_USERNAME=
|
|
IMAP_PASSWORD=
|
|
|
|
# SMTP (outgoing mail) - used only if ACCOUNTS_JSON/ACCOUNTS_CONFIG_PATH not set
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USE_TLS=true
|
|
SMTP_USE_SSL=false
|
|
SMTP_USERNAME=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=
|
|
|
|
# Multi-account configuration (optional; overrides single-account IMAP/SMTP above)
|
|
# Either:
|
|
# - ACCOUNTS_JSON: inline JSON array of accounts
|
|
# - ACCOUNTS_CONFIG_PATH: path to JSON file mounted in the container
|
|
ACCOUNTS_JSON=
|
|
ACCOUNTS_CONFIG_PATH=
|
|
|
|
# Default account ID (used when tools are called without specifying "account")
|
|
# If blank:
|
|
# - If only one account exists, it is default.
|
|
# - Otherwise, an account with id "default" is preferred, or the first one is used.
|
|
DEFAULT_ACCOUNT=
|
|
|
|
# Time and timezone (for get_current_time tool)
|
|
# IANA timezone (e.g. "America/New_York", "Europe/London", "UTC")
|
|
TIMEZONE=UTC
|
|
|
|
# Optional default CC/BCC (comma-separated)
|
|
DEFAULT_CC=
|
|
DEFAULT_BCC=
|
|
|
|
# Business / triage context
|
|
BUSINESS_DESCRIPTION=
|
|
PERSONNEL_JSON=[]
|
|
|
|
# Scheduled send (seconds between checks for scheduled emails)
|
|
SCHEDULED_SEND_INTERVAL=10
|
|
|
|
# HTML email signature (optional)
|
|
# Can be:
|
|
# - Inline HTML string, or
|
|
# - A file path inside the container (e.g. /etc/mcp-email/signature.html)
|
|
EMAIL_HTML_SIGNATURE=
|
|
|
|
# LLM identity defaults (fallback for signature placeholders)
|
|
# These are used if signature_vars is not provided in a send_email call.
|
|
LLM_NAME=
|
|
LLM_TITLE=
|
|
LLM_PHONE=
|
|
LLM_ADDRESS=
|
|
LLM_EMAIL=
|
|
|
|
# External summary model (optional) for summarize_email tool
|
|
# If set, emails can be summarized via an external LLM to save context.
|
|
EXTERNAL_SUMMARY_MODEL_ENDPOINT=
|
|
EXTERNAL_SUMMARY_MODEL_API_KEY=
|
|
EXTERNAL_SUMMARY_MODEL_NAME=gpt-4o-mini
|
|
EXTERNAL_SUMMARY_MAX_TOKENS=400
|
|
|
|
# CalDAV / CardDAV (e.g., Nextcloud) - if used by integrations
|
|
DAV_BASE_URL=
|
|
DAV_USERNAME=
|
|
DAV_PASSWORD=
|
|
DAV_VERIFY_TLS=true
|