refactored alarm email context regarding to displaying the timeseries status