add feature to send email