Bug 972514 - [B2G][Email] ActiveSync message state changes from server not synchronized error "Failed to parse a message: Error: Bad body type: undefined" thrown. r=mcav

propagate https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/287 to gaia