How can I attach incoming Google mail message to Lead or Contact?

How can I attach incoming Google mail message to Lead or Contact?

Need to associate incoming e-mail information (sent to gmail address) with some of CRM objects (leads, contacts, potentials).