For handling notifications and extendet tasks on multiple fails please add task and job related variables like these:
{TASK(Active|LastRunFailure|dd.MM.yyyy HH:mm)}
{TASK(Active|LastRunSuccess|dd.MM.yyyy HH:mm)}
{JOB(Active|LastRunFailure|dd.MM.yyyy HH:mm)}
{JOB(Active|LastRunSuccess|dd.MM.yyyy HH:mm)}
and for counters
{TASK(Active|ErrorCount)}
{TASK(Active|SuccessCount)}
{JOB(Active|ErrorCount)}
{JOB(Active|SuccessCount)}
since last server start