- Inline keyboard: view original / back to summary toggle per message - SMTP config per account for sending replies - Reply button: click, type message, auto-send via SMTP - AI Reply button: generates 3 suggestions via DeepSeek - Simple replies (OK, Got it) send immediately on tap - Substantive replies require confirm before send - Hides AI Reply button when AI determines reply unnecessary - Telegram long polling integrated into main loop for real-time interaction
31 lines
637 B
Plaintext
31 lines
637 B
Plaintext
email_accounts:
|
|
- imap_server: "imap.gmail.com"
|
|
imap_port: 993
|
|
username: "your_email@gmail.com"
|
|
password: "your_app_password"
|
|
smtp:
|
|
server: "smtp.gmail.com"
|
|
port: 465
|
|
use_ssl: true
|
|
|
|
- imap_server: "imap.126.com"
|
|
imap_port: 993
|
|
username: "your_email@126.com"
|
|
password: "your_auth_code"
|
|
smtp:
|
|
server: "smtp.126.com"
|
|
port: 465
|
|
use_ssl: true
|
|
|
|
ai:
|
|
api_key: "sk-your_deepseek_api_key"
|
|
model: "deepseek-chat"
|
|
base_url: "https://api.deepseek.com"
|
|
|
|
telegram:
|
|
bot_token: "1234567890:ABCdefGHIjklmNOPqrstUVwxyz"
|
|
chat_id: "123456789"
|
|
|
|
polling:
|
|
interval_seconds: 60
|