bug 1042820 (part) migrate mail sending functionality from apps/amo to mkt/site

Better leave this until pull 2400 has been QA tested at least.