basics of alarm email notification handling