<@U9LPTU0SG> it would help if you say what error y...
# suitescript
m
@MySuite it would help if you say what error you are getting. But likely your issue is you are shadowing the
email
variable by redefining it as a parameter to your
sendEmail
function.