add sending email feature.