Initial release: IMAP/SMTP email bridge MCP server

- 11 MCP tools: search, read, send, archive, move, mark emails + folder management
- IMAP IDLE watcher with polling fallback, forwards new emails to Poke webhook
- Bearer token auth (MCP_API_KEY) for securing the server
- Multi-account support via config.yml
- Docker + GitHub Actions CI/CD (lint, build, push to GHCR)
This commit is contained in:
Kacper Kwapisz
2026-03-22 21:46:14 +01:00
commit eb76dbb489
10 changed files with 1284 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# 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 # from https://poke.com/settings/advanced
# MCP_API_KEY is set via environment variable (not in this file)
# It secures the MCP server so only you can use it
accounts:
- id: default
imap_host: imap.gmail.com
imap_port: 993
imap_username: you@gmail.com
imap_password: your-app-password
smtp_host: smtp.gmail.com
smtp_port: 587
smtp_username: you@gmail.com
smtp_password: your-app-password
watch_folders:
- INBOX