Send the log of an erroneous task by email

Hello, to make life easier for the PDM administrator that I am, I would like to be able to include in the email sent by PDM in case of an error of a task the log of the said task.
Alternative idea: a hypertext link in the body of the email to the log in question, if it is accessible?
I'm talking about the email (and not a PDM notification) set up in the last tab "Notification in case of error" of the task.

By opening a ticket via VISIATIV support I imagine