implemented send as email and copy to clipboard functions