I do this by setting up another job that has variables in it for an email notice.
Example variables: destination error folder, email subject, recipient email address, and the email body.
I set the variables of the other job first, then execute it, when something happens in the executing job.
I also move files to an error folder at the same time.
The execution cycle stops using the flow from the job/task control task in the executing job, when the error is tripped.