Hi All,
Google recently made a change to their SMTP gateway security which prevents the use of a simple email account and password combination.
To get it to work, you must now enable 2-step verification on the Google account and create an 'App Password' by using this link (while logged into the account) -
The the following pattern can then be used to send emails from your apps
(don't forget to obfuscate your app so that others can't see your email details and use it for spamming people) -
See the "Mail Send" sample for a full example