Add email validation and error reporting