implemented send email activity