Sends emails based on event triggers from Analytics.js