Sends trigger-based emails based on events from Analytics.js