It is possible to add email notification function if the report fail to generate?
Even though we can see the 'message' in JS which will display the logs, it would be better send an email.
This can be done in two ways,
1. The email notification will send to JS admin which we will set
2. When we schedule the report, we send a copy to respective recipient via email. If the report fail, the recipient also
will receive an error msg saying 'there was an error occurred during report generation, please contact Admin'
What you guys think about this?