I was happy to see Sage 50 finally integrated the ability to send emails through "webmail", however this feature is flawed when used with Gmail. Sage 50 attempts to connect to Gmail's SMTP server using Basic Authentication, but Google has had Basic Authentication disabled by default for two years!
This issue occurs when you try to sync to a Gmail account after July 15, 2014 and Basic Authentication has not been enabled for your Gmail account.
Google has increased its security measures to block access to Google accounts after July 15, 2014 if those accounts are being set up or synced in apps and on devices that use Basic Authentication. -https://support.microsoft.com/en-us/kb/2984937
The only way around this is for users to enable "allow access for less secure apps" in their Google security settings, but as a consequence "makes your account more vulnerable".
Google may block sign-in attempts from some apps [Sage 50] or devices that do not use modern security standards. Since these apps and devices are easier to break into, blocking them helps keep your account safe. -https://support.google.com/accounts/answer/6010255?hl=en-GB
Unfortunately I am not going to lower my Gmail security settings just to use the webmail feature. I would hope and urge the Sage 50 developers to access Gmail as most modern apps with similiar functionality have been doing this for a while (eg. Mozilla Thunderbird, Windows 10 Mail, etc). I suspect the following developer docs about the Google/Gmail API platform explain how to access the service properly: https://developers.google.com/+/web/api/rest/oauth#authorization-scopes and https://developers.google.com/gmail/api/auth/about-auth
Looking forward to a future update that fixes this issue.