Error sending E-mail (AUTH failed)

Hi,

I have problem with sending backup to my G-mail. This logic of sending backup email (Script+Scheduler each weak) working from September 2018, but now i can’t do it for some reason.

On my account i have disabled 2FA and enabled access to not secure apps. Why can I get this kind of problem?
No matter with Firmware version of RouterOS i used. I treid both on 6.42.6 and on 6.43.12(the newest)

I added my scipt in attachments.
script.jpg

Hi, guys
It’s working on all my routers now. I did’t do any changes.
Solved.