migrate mail sending functionality from apps/amo to mkt/site

Better leave this until pull 2400 has been QA tested at least.
Might as well move this and `send_html_mail_jinja` also?