Merge pull request #615 from tessus/master

fixed error in the imap section