mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
feat: Improve account setup UI and add post-download email filtering
This commit is contained in:
@@ -22,7 +22,7 @@ use serde::{Deserialize, Serialize};
|
||||
use crate::{
|
||||
account::{
|
||||
entity::ImapConfig,
|
||||
migration::{AccountModel, AccountType, QuotaWindow},
|
||||
migration::{AccountModel, AccountType, ArchiveRules, QuotaWindow},
|
||||
since::{DateSince, RelativeDate},
|
||||
},
|
||||
users::UserModel,
|
||||
@@ -58,6 +58,7 @@ pub struct AccountResp {
|
||||
pub imap_quota_window: Option<QuotaWindow>,
|
||||
pub auto_download_new_mailboxes: Option<bool>,
|
||||
pub download_schedule: Option<String>,
|
||||
pub archive_rules: Option<ArchiveRules>,
|
||||
pub deleting: bool,
|
||||
}
|
||||
|
||||
@@ -96,6 +97,7 @@ impl AccountResp {
|
||||
imap_quota_window: account.imap_quota_window,
|
||||
auto_download_new_mailboxes: account.auto_download_new_mailboxes,
|
||||
download_schedule: account.download_schedule,
|
||||
archive_rules: account.archive_rules,
|
||||
deleting: account.deleting,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user