Email Pulling Error - too many values to unpack from gmail?

I agree this error handler could well be changed to log the raw email message, for forensic purposes such as your case.

Of course with open source you have options - I urge you to consider how you might contribute to advance ERPNext. You might wish to work with the email group [ERPNext-Roadmap/Open Discussion] Lets Do Improvement on CRM Module - #11 by tara_antonius