I love the login screen for this script! But it only supports IMAP and there's no easy way to control which folders are visable. (ALL folders must be visable.) This will confuse the average end-user.
Furthermore, the code appears to be a little slow, and for some reason, there are may be a half dozen errors related to "imap_close()". Once you scroll past all that on a phone, you will see the list of folders, which proves that it somewhat works.
They need to work out the bugs.