add feature to send an email.