# mail-mcp config — copy to ~/.config/mail-mcp/config.toml, chmod 600. # # Passwords are NEVER inline. Each account names an env var (`password_env`) # AND a fallback file (`password_file`). Lookup order: # 1. env var # 2. shell-format file (`KEY=VALUE` per line) # 3. hard fail with a vault-pointer hint # # Vault canonical: your-vault → "alice@example.com — IMAP/SMTP". default_account = "alice" [accounts.alice] from_name = "Alice" from_addr = "alice@example.com" smtp_host = "mail.example.com" smtp_port = 587 smtp_starttls = true imap_host = "mail.example.com" imap_port = 993 imap_tls = true username = "alice@example.com" password_env = "CARRIER_PRIMARY_PASS" password_file = "~/.config/carrier/secrets.env" # Optional: pin Message-ID domain. Defaults to the part of `from_addr` # after the @ if unset. # message_id_domain = "example.com"