implemented send email feature
closed #4