added refractored email checker method