chg: [mail] Cleanup mail sending code for event alerts
chg: [mail] Cleanup mail sending code for event alerts

SteveClement/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP