Add criteria ids to emails