Make script work with empty IMAP folders.
Merge pull request #12 from fmpfeifer/master

Make script word with empty IMAP folders