fix fatal bug of alarm mail interval

in the past, will send mail only after 5 minutes when no
new alarm came in(only when it's peaceful will it report alarms)