parsing Liste in Klammern in Pythons imaplib

Ich suche nach einer einfachen Möglichkeit, Listen in Klammern, die aus IMAP-Antworten stammen, in Python-Listen oder Tupel aufzuteilen. Ich möchte von @ geh

'(BODYSTRUCTURE ("text" "plain" ("charset" "ISO-8859-1") NIL NIL "quoted-printable" 1207 50 NIL NIL NIL NIL))'

z

(BODYSTRUCTURE, ("text", "plain", ("charset", "ISO-8859-1"), None, None, "quoted-printable", 1207, 50, None, None, None, None))