-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
147 lines (139 loc) · 4.38 KB
/
config.example.yaml
File metadata and controls
147 lines (139 loc) · 4.38 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Example configuration file for Mail Client
# Copy this to ~/.config/mail/config.yaml and customize for your accounts
accounts:
# Gmail example
- name: "Gmail"
email: "your.email@gmail.com"
display_name: "Your Name"
sent_folder: "[Gmail]/Sent Mail" # Gmail uses this format
trash_folder: "[Gmail]/Trash" # Gmail uses this format
imap:
host: "imap.gmail.com"
port: 993
username: "your.email@gmail.com"
password: "your-app-password" # Use app password, not regular password
tls: true
smtp:
host: "smtp.gmail.com"
port: 587
username: "your.email@gmail.com"
password: "your-app-password"
tls: false # Will use STARTTLS
personalities:
- name: "Professional"
email: "your.email@gmail.com"
display_name: "Your Name"
is_default: true # This persona will be selected by default
signature: |
Best regards,
Your Name
Your Title
Your Company
- name: "Personal"
email: "your.email@gmail.com"
display_name: "Your Casual Name"
signature: |
Cheers,
Your Name
# Outlook/Hotmail example
- name: "Outlook"
email: "your.email@outlook.com"
display_name: "Your Name"
sent_folder: "Sent Items" # Outlook uses this name
trash_folder: "Deleted Items" # Outlook uses this name
imap:
host: "outlook.office365.com"
port: 993
username: "your.email@outlook.com"
password: "your-password"
tls: true
smtp:
host: "smtp-mail.outlook.com"
port: 587
username: "your.email@outlook.com"
password: "your-password"
tls: false
# Generic IMAP/SMTP example
- name: "Work Email"
email: "you@company.com"
display_name: "Your Name"
sent_folder: "Sent" # Common name, adjust as needed
trash_folder: "Trash" # Common name, adjust as needed
imap:
host: "mail.company.com"
port: 993
username: "you@company.com"
password: "your-password"
tls: true
smtp:
host: "mail.company.com"
port: 587
username: "you@company.com"
password: "your-password"
tls: false # Uses STARTTLS (encrypted)
personalities:
- name: "Support"
email: "support@company.com"
display_name: "Company Support Team"
is_default: true # This persona will be selected by default
signature: |
Thank you for contacting us.
Best regards,
Support Team
Company Name
support@company.com
# UI Configuration
ui:
theme: "auto" # Options: "auto", "light", "dark"
default_message_view: "html" # Options: "html", "text" - default message view preference
window_size:
width: 1200
height: 800
# Cache Configuration
cache:
directory: "~/.cache/mail" # Cache directory (~ expands to home directory)
max_size_mb: 500 # Maximum cache size in MB
compression: true # Enable zlib compression (recommended)
# Logging Configuration
logging:
level: "info" # Log level: debug, info, warn, error
format: "text" # Log format: text, json
file: "" # Log file path (empty = stderr only)
max_size_mb: 10 # Maximum log file size before rotation
max_backups: 5 # Maximum number of backup files to keep
max_age_days: 30 # Maximum age of log files in days
# Common email provider settings for reference:
#
# Gmail:
# IMAP: imap.gmail.com:993 (TLS)
# SMTP: smtp.gmail.com:587 (STARTTLS)
# Sent Folder: "[Gmail]/Sent Mail"
# Trash Folder: "[Gmail]/Trash"
# Note: Requires app password, not regular password
#
# Outlook/Hotmail:
# IMAP: outlook.office365.com:993 (TLS)
# SMTP: smtp-mail.outlook.com:587 (STARTTLS)
# Sent Folder: "Sent Items"
# Trash Folder: "Deleted Items"
#
# Yahoo:
# IMAP: imap.mail.yahoo.com:993 (TLS)
# SMTP: smtp.mail.yahoo.com:587 (STARTTLS)
# Sent Folder: "Sent"
# Trash Folder: "Trash"
# Note: Requires app password
#
# Apple iCloud:
# IMAP: imap.mail.me.com:993 (TLS)
# SMTP: smtp.mail.me.com:587 (STARTTLS)
# Sent Folder: "Sent Messages"
# Trash Folder: "Deleted Messages"
# Note: Requires app-specific password
#
# ProtonMail:
# Requires ProtonMail Bridge for IMAP/SMTP access
# IMAP: 127.0.0.1:1143 (STARTTLS)
# SMTP: 127.0.0.1:1025 (STARTTLS)
# Sent Folder: "Sent"
# Trash Folder: "Trash"