Add IMAP settings to configuration and enhance email processing logic
This commit is contained in:
@@ -19,13 +19,14 @@ type Config struct {
|
||||
}
|
||||
|
||||
type IMAPConfig struct {
|
||||
Server string `yaml:"server"`
|
||||
Port int `yaml:"port"`
|
||||
Username string `yaml:"username"`
|
||||
Password string `yaml:"password"`
|
||||
MailboxIn string `yaml:"mailbox_in"`
|
||||
DraftBox string `yaml:"draft_box"`
|
||||
UseTLS bool `yaml:"use_tls"`
|
||||
Server string `yaml:"server"`
|
||||
Port int `yaml:"port"`
|
||||
Username string `yaml:"username"`
|
||||
Password string `yaml:"password"`
|
||||
MailboxIn string `yaml:"mailbox_in"`
|
||||
DraftBox string `yaml:"draft_box"`
|
||||
ProcessedBox string `yaml:"processed_box"`
|
||||
UseTLS bool `yaml:"use_tls"`
|
||||
}
|
||||
|
||||
type AIConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user