Added a workaround for Net_IMAP 1.1.0 and 1.1.2 issues.
Improved error handling around the getMSG function