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.
This commit is contained in:
Kacper Kwapisz
2026-03-23 13:47:29 +01:00
parent 4a14d33e22
commit 4ca7032e30
2 changed files with 13 additions and 7 deletions
+4 -3
View File
@@ -7,9 +7,9 @@ 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 — disabled by default for safety.
# Agents can still use create_draft. Enable per account with allow_send: true
allow_send: false
# 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
@@ -31,5 +31,6 @@ accounts:
# 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