When viewing a message in Mail, you can hove over a name and address to reveal a little ‘Data Detector’ icon. Clicking this icon lets you create a contact of the highlighted Name and info.
However, if you first select some text and then use the data detector, the selected text is attached to the contact as a note.