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