feat: cache mailbox list for 10 minutes and show progress on initial fetch

- Add 10-minute cache after fetching mailbox list from mail accounts
- Display progress during initial mailbox retrieval
- Prevent timeouts when handling large mailbox lists
This commit is contained in:
rustmailer
2026-05-14 20:01:45 +08:00
parent 1682f21cf7
commit 6b6f11e4c1
10 changed files with 319 additions and 36 deletions
+1
View File
@@ -22,6 +22,7 @@ use mailbox::MailBox;
pub mod download;
pub mod mailbox;
pub mod mailbox_cache;
pub mod task;
pub fn find_missing_mailboxes(