we use a "less secure app" with our Asterisk PBX voicemail to email message notifications using gmail. gmail wants users who use this option to make them more secure. if you google "less secure apps" and gmail / gsuite you will see what needs to be done.
this is what needs to be done:
The G Suite Team <gsuite-noreply@[login to view URL]>
Tue, Jul 30, 12:16 AM
G Suite logo
We’re writing to let you know that on October 30, 2019, we’ll begin removing the setting to “Enforce access to less secure apps for all users” from the Google Admin console. This setting will disappear from your Admin console by the end of year. Removing this setting will help keep your users’ accounts secure, as access to less secure apps (LSAs) can inadvertently make Google accounts vulnerable to hijackers.
What does this mean for my organization?
If the “Enforce access to less secure apps for all users” setting is selected for your domain when this change takes place, we’ll automatically select “Allow users to manage their access to less secure apps” instead. You’ll no longer have the option to enforce access to LSAs at the domain level.
Following this change, if you “Allow users to manage their access to less secure apps,” users will still have the option to access LSAs, provided the “Less secure app access” setting is enabled at the individual user account level. To minimize disruption in domains where we’ve automatically changed the setting from “Enforce access” to “Allow users to manage their access,” this account-level setting will be on by default at the time of the change for all active users of LSAs.
If a user has previously opted to let LSAs access their account, but no LSAs have connected to their account in some time, we’ll turn this account-level setting off for them. They can manually reenable this setting at any time at [login to view URL] (provided their admin allows them to do so).
Whenever possible, users should connect to their account via OAuth. Visit the Help Center to learn more about managing OAuth-based access to connected apps.
What do I need to do?
No action is required on your part, but we recommend the following:
If you currently enforce access to LSAs in your domain, change your setting to disable access or allow users to manage their access as soon as possible, as LSAs can make Google accounts vulnerable to hijackers.
Encourage your users to use OAuth-based protocols (like OAuth-based IMAP) to give non-Google apps access to their Google accounts, including their email, calendar, and contacts.
Review our list of alternatives to less secure apps.
Prepare your users and internal help desks for the change.
Update any user guides you’ve previously published to recommend the use of OAuth or to instruct users on how to turn on LSAs.
We’re here to help
If you have additional questions or need assistance, please contact Google support. When you call or submit your support case, reference issue number 122954812.
For more information, see our post on the G Suite Updates blog.
The G Suite Team
8 freelancers are bidding on average $178 for this job
Greetings! I have thoroughly researched the issue you are having and I can make your app according to the latest standards outlined by google so this error goes away. Looking forward to discuss further.