- 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.
- 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
- 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