Commit Graph

10 Commits

Author SHA1 Message Date
rustmailer 76d7d73f3f fix: skip mailbox sync when uid_validity is None 2025-08-29 14:32:38 +08:00
rustmailer 0dc9daeb6f fix(accounts): start sync task for IMAP/SMTP accounts 2025-08-28 15:38:58 +08:00
rustmailer fd64acc24f feat(account): add MailerType to support Gmail API and other mailers
- Introduced `MailerType` enum in Account model
- Enables selection of different mailer backends (e.g., Gmail API)
2025-08-28 03:20:49 +08:00
rustmailer df4f715d70 add some tests 2025-08-24 23:53:25 +08:00
rustmailer f838e66018 feat(email): add thread_id field to EmailAddedToFolder 2025-08-18 00:54:41 +08:00
rustmailer 4c47bfe42c fix(mailbox): rebuild cache with early mailbox availability and error handling
- Batch insert remote mailboxes before full synchronization so that
  mailbox metadata is queryable as soon as possible.
- If synchronization of a mailbox fails, remove it to prevent
  stale or inconsistent local data.
2025-08-18 00:35:26 +08:00
rustmailer 7ba24b45b2 feat: add email thread related APIs and data structures
- Add two new APIs to list email threads and fetch all messages within a thread
- Create a new email thread table to store thread information
- Implement method to extract thread_id from emails to support thread association queries
2025-08-10 05:11:41 +08:00
rustmailer 76139344fb chore(legal): add copyright/license headers to all source files 2025-07-29 02:02:08 +08:00
rustmailer c46b41b657 feat: add email-based message search API (OpenAPI + gRPC) with new index table
- Added unified search interface to query messages by email address
- Implemented both OpenAPI and gRPC endpoints
- Introduced new index table to optimize email-based lookups
2025-07-26 04:18:35 +08:00
rustmailer 0044f37d7b feat: initial commit 2025-07-17 22:49:42 +08:00