check if email has been set