Files
poke-mail/config.example.yml
T
Kacper Kwapisz 4ca7032e30 Add from_address override per account for custom domain sending
Useful for iCloud SMTP where login is @icloud.com but you send as a
custom domain. Falls back to smtp_username when not set.
2026-03-23 13:47:29 +01:00

37 lines
1.2 KiB
YAML

# poke-mail configuration
# Copy this file to config.yml and fill in your credentials
webhook_url: "https://poke.com/api/v1/inbound-sms/webhook"
poke_api_key: "your-api-key-here"
# MCP_API_KEY is set via environment variable (not in this file)
# It secures the MCP server so only you can use it
# Global send toggle — set to false to disable send_email for all accounts
# Agents can still use create_draft. Override per account with allow_send.
allow_send: true
accounts:
# Minimal — SMTP falls back to IMAP host/credentials
- id: personal
imap_host: imap.gmail.com
imap_port: 993
imap_username: "you@gmail.com"
imap_password: "your-app-password"
watch_folders:
- INBOX
# Full — separate SMTP settings (only if different from IMAP)
# - id: work
# imap_host: imap.example.com
# imap_port: 993
# imap_username: "you@example.com"
# imap_password: "imap-password"
# smtp_host: smtp.example.com
# smtp_port: 587
# smtp_username: "you@example.com"
# smtp_password: "smtp-password"
# from_address: "you@customdomain.com" # Override From: header (e.g. iCloud login is @icloud.com but you send as custom domain)
# watch_folders:
# - INBOX