fix handling of very weird semi-multipart emails