Files
poke-mail/config.example.yml
T
Kacper Kwapisz 9c84ea1a91 Add create_draft tool and allow_send toggle per account
- create_draft: saves email as draft in IMAP Drafts folder
- allow_send: global config toggle (default true), overridable per account
- When sending disabled, send_email returns error suggesting create_draft
2026-03-23 00:13:35 +01:00

36 lines
1.1 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"
# watch_folders:
# - INBOX