-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
bugSomething isn't workingSomething isn't working
Description
CF #4261
Implements batched Email/get requests to respect server maxObjectsInGet limits.
Changes
- Added
getEmailsByIdsBatchedmethod inMailApiMixinfor batched fetching - Added
getMaxObjectsInGetMethodto query server capabilities - Refactored
ThreadApi.getChangesto use batched requests with early termination - Added
defaultMaxObjectsInGet = 50constant
Why This Is Needed
Stalwart and other JMAP servers enforce maxObjectsInGet limits. When loading threads with many emails (e.g., after WebSocket push notification), the client must batch requests to avoid exceeding server limits.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working