replaced msg argument with job_information in task handler and mail task