Separated email generation settings into a separate section of config.json file; Added check_window parameter for only marking failover activity for the past N hours