Make invalid email messages easier to subclass

Split off the message into its own method. Makes it easy for subclasses to customize the message or use the message elsewhere, like in javascript