only validate email if survey object is defined