Remove thresholdmailer logic