When you sign up for an email account, you would expect that these large companies have some sort of security in place to protect your information.
Of course, mistakes happen and things can go wrong, but sometimes a small mistake can cost a company millions of dollars.
But that also means that there could be a portion of that money going into your wallet.
In 2016, it was revealed that Yahoo discovered a nearly three-year-old security breach that allowed hackers access to more than three billion accounts.
The breach is reported to have happened in 2013 and 2014, and it's not only people who used Yahoo mail that were affected.
People who had Tumblr and Flickr accounts may also have had their personal information stolen.
In what's being called the biggest security breach in history, Yahoo has agreed to pay up a huge sum of money to users that had an account with them during a specific time frame