- Shipped
- October 10, 2026 at 3:05 AM UTC
- Author
- kamo
- Commit
- 7ce41fb
EmailService now sends each listing's size in X-Total-Count (emailservice 12926f6) beside the bare array it always returned. The email proxy carries that header back on JSON answers, and the message list reads it: - Folders, labels and smart folders all get "51-100 of 1,240" and a working Last button. Labels and smart folders used to show the range alone. - Whether another page follows is decided by the total when there is one. A label's page can come back short because the index has not seen some labelled messages yet; that read as the end and paging stopped early. - A page that has emptied steps straight back to the last page there is. - The folder tree's count and the short-page inference remain fallbacks for Microsoft Graph and for an EmailService that sends no total. fetchFirstPage and the route prefetch are unchanged; fetchFirstListingPage shares their in-flight slot, so the mount fetch and the prefetch are still one request.
