Google has long been an ad company rather than a search company, and its Gmail transformation is the latest proof of this.