Python plugin: Make it possible to get folder tree from a Mailbox