Hi, I am facing an UNEXPECTE_ERROR while calling email.send() API in a Scheduled Script. Does anyone has any idea that what could have been the cause(s) of this error.
Using email.send() in a User Event script and that is working correctly.
In attached screenshot, line 75 is email.send().