added send email feature