Every single Yahoo email account — more than 3 billion — was affected by a data breach in 2013, the company said Tuesday.