email model has validation and fixed validation error bug in email controller