Fixed some bugs in FMG.py, started work on getImap/list mailbox.