mailbox list enumerates all folders the user has, including subscribed and hidden ones. Compare it with what the mail client shows to find subscriptions that drifted. Add the -s flag to list only subscribed folders.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.