remove duplicate email reference in db