docs: function handler (eventDetails){
    var Alert = models.getModels().Alert;
    logger.logger.trace(loggerPrefix +'Processing Alerts for Event: ', eventDetails);
  
    Alert.queryAlerts(eventDetails.uid, eventDetails.env, eventDetails.domain, function(err, alerts){
      if(err) {
        logger.logger.warn({ error:err }, loggerPrefix +'Failed to query Alerts for uid and env', uid, env);
      } else {
        if(alerts && alerts.length > 0){
          logger.logger.trace(loggerPrefix +'Found ['+ alerts.length +'] Alerts. Matching and send emails', alerts);
          matchAndIssueAlertEmails(eventDetails, alerts);
        } else {
          logger.logger.trace(loggerPrefix +'No Alerts for event. No emails to send.');
        }
      }
    });
  }