A fix for a divide by zero bug when syncing an empty IMAP folder, and new code to skip message if it could not be decoded, which helps handle the error Can't call method "head" on an undefined value at line 1349. This seems to be occuring with people that have large mailboxes.