added UserEmail.is_primary check