Added checkStringEmailAddress function.