Costco has agreed to a proposed $14 million class action settlement over allegations that it sent misleading promotional emails to shoppers, though not everyone will be eligible for a payout.