Added sending email support