web 2.0

How does Email service providers makes money although they offers it for free of cost?



We have seen lots of commercials coming in TV about free email ID offers (Ex-Rediff,yahoo etc).they spend lot of money on these commercials ,so how they recover this money ?