If folder name is "folder (name)" than mailbox.folder.status("folder (name)") raise exception due to wrong splitting
Logs of this case looks like this:
XX:XX.XX > b'XXXXX STATUS "folder (name)" (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)'
XX:XX.XX < b'* STATUS "folder (name)" (MESSAGES X RECENT X UIDNEXT X UIDVALIDITY X UNSEEN X)'
If folder name is "folder (name)" than
mailbox.folder.status("folder (name)")
raise exception due to wrong splittingLogs of this case looks like this: