A popup opens with the sender's name and email address: optionally supply more information, like a Yahoo Messenger ID or phone number. Click on the plus signs for more fields, and click Save:
Tip: each of the dropdown menus contain many more types of fields, like third-party IM clients.