Password change and email syntax validation