passed config into send_alerts