Add mailbox sync functionality and related API endpoints #21

Merged
ahmed.mujtaba merged 2 commits from Add_History into main 2026-08-20 12:56:04 +00:00

2 Commits (main)

Author SHA1 Message Date
ahmed.mujtaba 43189a11ae Merge branch 'main' into Add_History 2026-08-20 12:55:57 +00:00
ahmed.mujtaba f1758ac9bd Add mailbox sync functionality and related API endpoints
- Introduced a new `MailboxSyncRun` model to manage mailbox synchronization jobs, allowing for tracking of sync status and results.
- Implemented API endpoints for starting mailbox sync and fetching sync status, enabling asynchronous processing of email synchronization.
- Updated the `Email` service to handle mailbox sync operations, including enqueueing tasks and managing sync results.
- Enhanced frontend components to initiate mailbox sync and display sync status, improving user experience and feedback during the sync process.
- Added necessary query keys and local storage management for tracking sync runs in the UI.

This commit enhances the application's email synchronization capabilities, providing a more robust and user-friendly experience for managing mailbox data.
2026-08-20 17:55:17 +05:00