Yeah so you are "overwriting" the `email` variable...
# suitescript
m
Yeah so you are "overwriting" the
email
variable you declared at the beginning of the script as a reference to
N/email
module with the email addresses, by using that as a parameter name for your
sendEmail
function