added uniqueness to email type