From 35729a2dcb9299f1ca27f175d776932d30d63407 Mon Sep 17 00:00:00 2001 From: Sean O'Connor Date: Sun, 2 Aug 2026 14:12:27 -0400 Subject: [PATCH] Add config.example.yml --- config.example.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config.example.yml diff --git a/config.example.yml b/config.example.yml new file mode 100644 index 0000000..0ecc28f --- /dev/null +++ b/config.example.yml @@ -0,0 +1,38 @@ +# 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