> Did they buy some code for Gmail from an older company?

They bought both Deja and Neotonic.