Scenario
Workflow Send Email action throws error message SuiteScript error has occurred during execution.
Solution
Ensure the email addresses used are in the right format and do not including any spaces. Also check to confirm all leading and lagging spaces in the email addresses are removed. The above error message may be thrown if the email address used in the Send Email action is invalid.