-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
79 lines (75 loc) · 1.88 KB
/
config.example.yaml
File metadata and controls
79 lines (75 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Global Configuration
global:
default_timeout: 30 # Default connection timeout in seconds
log_level: info # Logging verbosity (debug, info, warn, error)
work_dir: "/path/to/workspace"
zeromq_endpoint: "tcp://*:2986"
check_mail_interval_ms: 500
# Mail Accounts Configuration
accounts:
- name: gmail_account
protocol:
smtp:
host: smtp.gmail.com
port: 587
security: ssl
auth_method: start_tls
from:
name: "example"
address: "example@gmail.com"
to:
- name: "immutable"
address: "example@gmail.com"
imap:
host: imap.gmail.com
port: 993
security: ssl
auth_method: login
filter:
name: "tasks"
folders:
- "inbox"
conditions:
- type: "FROM"
value: "example@gmail.com"
- type: "SUBJECT"
value: "task"
- type: "UNSEEN"
- type: "SINCE_DATE"
value: "2025-01-01" # Format: YYYY-MM-DD
credentials:
username: example@gmail.com
password: ${GMAIL_PASSWORD}
default_folder: inbox
- name: yahoo_account
protocol:
smtp:
host: smtp.mail.yahoo.com
port: 587
security: starttls
auth_method: login
imap:
host: imap.mail.yahoo.com
port: 993
security: ssl
auth_method: login
credentials:
username: example@yahoo.com
password: ${YAHOO_PASSWORD}
default_folder: inbox
- name: zoho_account
protocol:
smtp:
host: smtp.zoho.com
port: 587
security: starttls
auth_method: login
imap:
host: imap.zoho.com
port: 993
security: ssl
auth_method: login
credentials:
username: mailio@zoho.com
password: ${ZOHO_PASSWORD}
default_folder: inbox