Gmail / Getting Started with Gmail

Add a contact from an email

You can quickly add the sender of any message you receive to your My Contacts list, allowing you to communicate with that contact more easily in the future, and to add further details to their contact record e.g. their telephone number. 

To add the sender of a message as a contact:

The sender of the message will be added to My Contacts in your contact list.