Added panic for invalid email message formats.