Add error_msg in template on invalid email.