ghz - 2020-09-09

Hello,
I want to create an e-mail sending process, if an error is returned during e-mail sending, so that iTOP tries to re-send this e-mail. I've tried both iTOP e-mail sending modes - synchronous and asynchronous, in both cases an error is returned and email isn't sent again. In asynchronous e-mail mode, asynchronous tasks are created and have an execution status, if an error occurs in sending the e-mail, this status is changed to "error". In asynchronous mode it is possible to manually change the status of the task in the database table "priv_async_task" from "error" -> "planned", then iTOP will try to re-sent this email.

How could this be automated, so that iTOP automatically re-sends previously failed e-mails?
In the iTOP database table "priv_async_tasks" has a column "remaining_retries", how can it be configured, each asynchronous task has a value "0"?

I would also like to create an iTOP trigger or other process, if an error is returned while sending an iTOP notification (e-mail), then a alert would be sent to me to Slack or e-mail or ....
I have "Webhook Integration" extension installed on iTOP.
How could I configure it?