Added a workaround for GMail IMAP's broken BODY responses

Fixes the second reported problem in issue #32