email_config.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "email_accounts": [
  3. {
  4. "name": "主邮箱",
  5. "email": "your_email@example.com",
  6. "password": "your_app_password",
  7. "imap_server": "imap.example.com",
  8. "imap_port": 993,
  9. "smtp_server": "smtp.example.com",
  10. "smtp_port": 587,
  11. "use_ssl": true
  12. }
  13. ],
  14. "classification_rules": {
  15. "work_keywords": ["会议", "项目", "工作", "任务", "汇报", "meeting", "project", "work", "task"],
  16. "customer_keywords": ["客户", "咨询", "购买", "服务", "customer", "inquiry", "purchase", "service"],
  17. "personal_keywords": ["个人", "家庭", "朋友", "personal", "family", "friend"],
  18. "spam_keywords": ["广告", "推广", "营销", "advertisement", "promotion", "marketing"]
  19. },
  20. "priority_rules": {
  21. "high_priority_senders": ["boss@company.com", "important@client.com"],
  22. "high_priority_keywords": ["紧急", "urgent", "asap", "重要", "important"],
  23. "low_priority_keywords": ["通知", "newsletter", "notification", "订阅"]
  24. },
  25. "reply_settings": {
  26. "formal_tone": true,
  27. "include_signature": true,
  28. "auto_cc": [],
  29. "default_language": "zh-CN"
  30. },
  31. "reminder_settings": {
  32. "advance_days": [1, 3, 7],
  33. "notification_methods": ["email", "console"],
  34. "working_hours": {
  35. "start": "09:00",
  36. "end": "18:00"
  37. }
  38. }
  39. }