Holmes apologizes after using city email for candidate endorsement