Added functionality for sending mail to friend.