fix the layout and email input for sending message

This commit is contained in:
ghostersk
2026-03-07 15:14:57 +00:00
parent 96d9d99e6e
commit 1cf003edc4
9 changed files with 517 additions and 284 deletions

View File

@@ -163,6 +163,11 @@ func (s *Scheduler) doSync(account *models.EmailAccount) (int, error) {
continue
}
// Skip folders that the user has disabled sync on
if !dbFolder.SyncEnabled {
continue
}
days := account.SyncDays
if days <= 0 || account.SyncMode == "all" {
days = 36500 // ~100 years = full mailbox