Email script doesnt work in ros 5.6

Hi, I want to use this script in netwatch - down, but it doesnt work.
My settings:

tool - email:

address: 74.125.39.109
      port: 25
      from: "xxx@gmail.com"
  username: "xxx@gmail.com"
  password: "xxx"

this script:

:local recipients { "recipient1@gmail.com", \
                         "recipient2@gmail.com", \
                         "recipient3@domain.com" }

:local subject "AP IS DOWN"

:foreach r in=[:toarray $recipients] do={
   :put ("Sending email to " . [:tostr $r])
   /tool e-mail send tls=yes to=[:tostr $r] subject=[:tostr $subject]
}

Please can you help what is wrong?

array definition is incorrect, should be:

:local recipients { “recipient1@gmail.com”; “recipient2@gmail.com”; “recipient3@domain.com” }

:foreach r in=$recipients do={

}

I changed it like this:

:local recipients { "recipient1@gmail.com" }

:local subject "AP IS DOWN"

:foreach r in=$recipients do={
   :put ("Sending email to " . [:tostr $r])
   /tool e-mail send tls=yes to=[:tostr $r] subject=[:tostr $subject]
}

still doesnt work

enable e-mail debug logs and check where is the problem

Ok, thanks a lot, it works, it put all messages in spam.