List the labels a connected mailbox holds, by the id each is applied by. A mailbox whose provider is imap holds its folders as labels, nested by /, beside UNREAD, STARRED and SPAM. An Outlook mailbox's labels are its categories, of type category, and its own folders, of type folder, each named by its path with how many messages it holds and how many are unread; Outlook's own folders - the inbox, sent mail, drafts, Deleted Items, Junk and the like - are not labels. A Gmail connected by Google sign-in also holds Gmail's own labels, of type system, among them IMPORTANT, Gmail's mark of what matters, and its inbox tabs as CATEGORY_PERSONAL, CATEGORY_SOCIAL, CATEGORY_PROMOTIONS, CATEGORY_UPDATES and CATEGORY_FORUMS, which threads_modify applies and removes as it does the person's own.