Send email notification and a file, if requested to do so by a user

def on_success(self, retval, task_id, args, kwargs):
        """Send email notification and a file, if requested to do so by a user"""
        super().on_success(retval, task_id, args, kwargs)
        self._operation_run.on_success()