improve deleting training course mail notification issue