Checking for valid email format with regex values when attempting to send a message.