How to change the recipient to a Gmail account
Inside the action testMailSecure change as follows on line 4:
local url = "smtp://smtp.gmail.com:587"
The username is the email address. Password is the given PWD for this email (account).
As this refers to a one factor login please make sure that you accept low security API access
https://support.google.com/accounts/answer/6010255#zippy=%2Cif-less-secure-app-access-is-off-for-your-account
For a two factor login you will need to generate a password and reuse this password as described here: