https://travelebookdownload.blogspot.com/2023/06/parsing-parenthesized-list-in-pythons.html
Parsing Parenthesized List In Python's Imaplib