I couldn't find the feature request for this in THWACK so I'm creating one referencing the following support article. We would like to have OAuth2 added for IMAP mail connections.
Adding OAuth2 for IMAP KB
This is important for school districts and companies that use GSuite for all emails and have to use Less Secure Apps to connect. Here is the support article. Google will be shutting off Less Secure Apps in February 2021.
https://gsuiteupdates.googleblog.com/2019/12/less-secure-apps-oauth-google-username-password-incorrect.html