Google has embraced since 2004 practice of reading your Gmail in search of opportunities to sell ads. Google has been scanning user’s discussions on emails & showing ads connected to those topics. E.g. If you write about running, it will show you Nike ads. By this it provides free services to users.