There seems to be a problem in the leave plugin regarding mail notifications. When the supervisor cancels a scheduled leave for an ess the system seems to execute the same actions as if the employee was the one who cancelled the leave, for example it will send mail to supervisors insted of ess and will include leaveEmployeeCancellation body and subject from the mail templates.