Ok, I just realised that you check outside this function if the contact has already email or phones.