mirror of
https://github.com/karatektus/pl_mail.git
synced 2026-10-25 10:04:18 +00:00
A category the reader made is a tab beside the five, shown while it holds mail (or is being looked at) and otherwise only as a drop target. A conversation is in exactly one tab: its own when it has been filed in one, else the built-in one, so a carrier's notice is listed in Shipping and no longer in Promotions. The grouped counts, the new-mail dots, the sender hint, the select-all view and the counts endpoint all key a tab the same way. InboxTab is the one value for "a tab", whose key for a built-in is exactly what it always was. InboxTabs resolves a key against the asking reader's own categories, answers a key that cannot be custom without a query, and reads the categories once per request. Another reader's category, or a deleted one, is no tab and opens the inbox like any unknown key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>