diff --git a/env.example b/env.example index b6a0afd..cf5d952 100644 --- a/env.example +++ b/env.example @@ -5,16 +5,16 @@ API_KEY= # Logging -LOG_LEVEL=DEBUG +LOG_LEVEL=INFO -# IMAP (incoming mail) +# 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) +# 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 @@ -23,6 +23,23 @@ 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= @@ -31,10 +48,31 @@ DEFAULT_BCC= BUSINESS_DESCRIPTION= PERSONNEL_JSON=[] -# Scheduled send (seconds between checks) +# Scheduled send (seconds between checks for scheduled emails) SCHEDULED_SEND_INTERVAL=10 -# CalDAV / CardDAV (e.g., Nextcloud) +# 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=