The same database is used, so if you have a contact named "john" you can quickly send him an email by typing:
send mail to john
The email address of john will be automatically used.
In addition, if you type:
send mail to bill
and if bill is not in your contacts list, it will be automatically added in your contacts.