Ajax for filter users in emails