Commit Graph

157 Commits

Author SHA1 Message Date
rustmailer af345b8a95 feat: Add EmailAddedToFolder event callback for Graph API accounts 2025-10-30 21:34:07 +08:00
rustmailer 170b428d36 refactor: Remove attachment field from EmailAddedToFolder 2025-10-30 21:33:29 +08:00
rustmailer 690c289aac feat: append-reply-to-draft supports Graph API
- Adjust AppendReplyToDraft request payload:
  * `mailbox` is only required for IMAP accounts; Graph API ignores it
  * Remove `draft_folder_path`; IMAP automatically uses `mailbox` attribute to filter
- API now returns `ReplyDraft` containing:
  * `id` of the created draft
  * mailbox name of the draft
2025-10-30 20:45:25 +08:00
rustmailer a51b95815c feat: add /disk-cache endpoint to manually clear disk cache 2025-10-30 06:37:40 +08:00
rustmailer 64b57f4ac2 feat: add GraphAPI account support for message-content endpoint 2025-10-30 06:37:12 +08:00
rustmailer bbcc1348ff feat(graph): add Graph API support and GraphAPI account type 2025-10-28 19:39:49 +08:00
rustmailer de8067f586 feat: Add Graph API synchronization process 2025-10-27 06:59:07 +08:00
rustmailer 340b5df32b Remove quotes from environment variable values 2025-10-25 22:50:05 +08:00
rustmailer 55d54785cd update 2025-10-23 20:14:46 +08:00
rustmailer 5d6a721e77 add Graph tests 2025-10-22 21:27:23 +08:00
rustmailer c6bf402707 debug: log UID batch content in diff_uids_and_flags to investigate empty remote_uids_set 2025-10-22 19:38:21 +08:00
rustmailer 0b9ef769d0 Merge branch 'main' of https://github.com/rustmailer/rustmailer 2025-10-22 11:29:10 +08:00
rustmailer 44a59f637f chore: bump versions && use rustls-tls for reqwest 2025-10-22 11:29:08 +08:00
rustmailer 4b6d6a3500 chore(ui): set fixed height for email list 2025-10-22 11:28:26 +08:00
rustmailer 5eb0308a49 Update Buy Me a Coffee username in FUNDING.yml 2025-10-21 13:39:05 +08:00
rustmailer 7522ffc289 feat: add folder_limit per account
- Add `folder_limit` field to account model
- Support limiting sync per folder/label for both IMAP and Gmail API accounts
- Ensures each folder/label syncs at most `folder_limit` messages
1.5.3
2025-10-18 15:23:58 +08:00
rustmailer f88791741c chore: Ensure idempotent writes when storing Gmail API–synced email metadata locally. 2025-10-17 09:47:10 +08:00
rustmailer 59c771a363 fix(gmail): make header name matching case-insensitive for robustness 2025-10-17 09:09:14 +08:00
rustmailer c1902e6975 bump to 1.5.3 2025-10-15 10:41:56 +08:00
rustmailer d4a3cf2746 bump versions 2025-10-15 10:40:56 +08:00
rustmailer 3096208b59 fix(sync): optimize account cache cleanup during full sync to prevent potential thread blocking 2025-10-15 10:40:45 +08:00
rustmailer 1a240b8f6b Update flow.rs 2025-10-14 22:38:38 +08:00
rustmailer 7c82c78435 bump to 1.5.2 1.5.2 2025-10-11 16:46:18 +08:00
rustmailer c9eb5117f3 Update README.md 2025-10-10 12:07:43 +08:00
rustmailer b73af25d71 sync: share semaphore between IMAP and Gmail API to limit concurrency and reduce CPU load 2025-10-10 10:50:20 +08:00
rustmailer 4c4aeaceb7 Reduce Gmail metadata fetch concurrency from 5 to 1 to mitigate high CPU usage 2025-10-09 00:21:22 +08:00
rustmailer 24c82111b8 add prominent error logging for cleanup_account_resources_sequential 1.5.1 2025-10-08 18:06:51 +08:00
rustmailer b55e323805 refactor: unify uid and mid into a single id field in frontend 2025-10-08 17:30:59 +08:00
rustmailer 57035bbc95 debug(imap): add detailed mailbox and matched folder logging for Sent folder investigation 2025-10-08 16:44:10 +08:00
rustmailer bd6efb153c refactor: merge uid and mid into a single id field in EmailAddedToFolder and EmailEnvelopeV3 2025-10-08 12:05:31 +08:00
rustmailer 3ed4d0395c Update README.md 2025-10-06 10:47:30 +08:00
rustmailer 194d1e3f1e Update mail.tsx 1.5.0 2025-10-05 16:11:04 +08:00
rustmailer 95c2e960b2 update 2025-10-05 16:05:30 +08:00
rustmailer e6d35fc808 feat(frontend): adapt message list logic for Gmail API compatibility 2025-10-05 15:50:21 +08:00
rustmailer 1e37ad2eb1 Update README.md 2025-10-04 17:04:49 +08:00
rustmailer 7ca5983a7c Update README.md 2025-10-04 17:03:45 +08:00
rustmailer 60041ee59f feat: unify UID/MID and UIDs/MIDs into single id/ids fields 2025-10-03 21:20:04 +08:00
rustmailer e6225d13bd fix(api): remove mailbox/label filtering so that get-thread-messages returns full conversation threads across INBOX and SENT 2025-10-01 00:55:01 +08:00
rustmailer 16c84abe67 refactor(list-messages): switch from page-based to cursor-based pagination
- Changed `list-messages` API from page/page_size to cursor/next_page_token
- Aligns pagination approach with Gmail API for easier integration
- Frontend updates to handle cursor-based navigation
2025-09-28 07:39:40 +08:00
rustmailer 08ef77c23c feat(gmail): make search API 2025-09-24 13:30:25 +08:00
rustmailer 4c00e45657 refactor(gmail): switch Gmail account message deletion to batch API for efficiency 2025-09-24 13:29:49 +08:00
rustmailer 40e8004f4f feat(mail): add raw email retrieval support for Gmail API accounts 2025-09-20 03:37:57 +08:00
rustmailer a54e3c9f18 feat(api): update reply and forward endpoints to support Gmail API accounts 2025-09-19 09:47:47 +08:00
rustmailer 05af9e82e9 feat(mailbox): extend MailboxTransferRequest for Gmail API support 2025-09-18 06:41:41 +08:00
rustmailer 0a038ffe94 feat(gmail): add compatibility for Gmail API send message endpoint 2025-09-17 09:56:04 +08:00
rustmailer 453c799935 fix: date format error in gmail api query 2025-09-15 20:04:15 +08:00
rustmailer 16ccdb00b7 feat(mail): make message deletion API compatible with Gmail API 2025-09-15 06:44:15 +08:00
rustmailer 60f3eaf239 feat(gmail api): handle label change events in history callback 2025-09-14 17:11:09 +08:00
rustmailer b7245a302d fix: remove filtering of labels with MessageListVisibility=hide 2025-09-11 22:11:41 +08:00
rustmailer fa2ecf1867 chore: add debug logs for Gmail label synchronization 2025-09-11 21:27:07 +08:00