Its not spam its the advertising that pays for your "free" email. I don't know if Yahoo offer a paid, ad free version but there are plenty of ad free webmail services that you can pay for.