Extract functions to validate email address parts