7.18 rOS and the problem with scripts

Hello everyone, yesterday I upgraded the rOS version from 17.7.2 to 17.8, and I don’t know why the script that sends the daily backup file stopped working.

When it comes to routerOS, I’m taking my first steps in it, below I put this script and the error that comes out in the logs

/export terse file=backup1-gw
/tool e-mail send to=“user@email.com” subject=“$[/system identity get name] export”
body=“Gateway Backup-Config $[/system clock get date]” file=backup1-gw.rsc

Error in logs:
syntax error (line 3 column 61)

Thank you in advance for your help

You are not the first one to mention the exact same problem.
http://forum.mikrotik.com/t/scripting-problems-email-upgrade-routerboard/182277/1

The error message clearly shows where the problem is: line 3, position 61
Put quotes around file name

file="backup1-gw.rsc"

Use correct syntax, show-sensitive included for full backup…

/export terse show-sensitive file="backup1-gw.rsc"
/tool e-mail send to="user@email.com" subject="$[/system identity get name] export" \
    body="Gateway Backup-Config $[/system clock get date]" file="backup1-gw.rsc"