Files
poke-mail/config.example.yml
Kacper Kwapisz 5a6ae3e94f Add mark_as_read config option to preserve email read status
Emails forwarded to Poke are no longer marked as read by default,
so users can continue using read/unread status to organize their
inbox. Set mark_as_read: true (global or per-account) to restore
the previous behavior.

Closes #5
2026-03-25 14:47:42 +01:00

44 lines
1.6 KiB
YAML

# poke-mail configuration
# Copy this file to config.yml and fill in your credentials
webhook_url: "https://poke.com/api/v1/inbound/api-message"
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
# Mark forwarded emails as read — set to true to mark emails as read after
# forwarding to Poke. Defaults to false. Override per account with mark_as_read.
mark_as_read: false
accounts:
# iCloud Mail — login is @icloud.com, send as your custom domain
# Generate an App-Specific Password: https://support.apple.com/en-us/102654
- id: icloud
imap_host: imap.mail.me.com
imap_username: "you@icloud.com"
imap_password: "your-app-password"
smtp_host: smtp.mail.me.com
smtp_username: "you@icloud.com"
smtp_password: "your-app-password"
from_address: "you@yourdomain.com" # Override From: header (login is @icloud.com but send as custom domain)
watch_folders:
- INBOX
# mark_as_read: false # Keep emails unread after forwarding
# Custom SMTP server — SMTP falls back to IMAP credentials if not specified
# - id: work
# imap_host: imap.example.com
# imap_username: "you@example.com"
# imap_password: "your-password"
# smtp_host: smtp.example.com
# smtp_port: 587
# smtp_username: "you@example.com"
# smtp_password: "your-password"
# watch_folders:
# - INBOX