Send/Receive email in case error occurs in Bot

Hi,

Is there a provision or setting in Bot to send an email to a specific email address in case any error occurs in Bot?

PS - I am on version 6.2.3. So I do not have Task Execution Failure event available with me.

Thanks,
Neha Sheikh

If the bot had botkit enabled and is subscribed to the event onEvent, during the execution of dialog, if the dialog execution failed, the developer should be receiving the endDialog event at the bot kit.

Could you review the payload received at botkit in case of endDialog due to task failure and let us know if that should suffice to trigger an email from the bot kit itself?