Added support for sending emails to contacts