It would be more helpful to have a raw version of the email to be able to tell how the parsing got screwed up. It’s probably upstream in the Ruby Mail Class. I found a couple valid-looking emails that it got wrong, but haven’t had a chance to figure out where that’s coming from.