<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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()