title: Sign into Gmail without less secure apps on javamain
body: <p>I'm trying to make a kind of email client program. I'm using <code>transport.connect</code> to attempt to connect to the users Gmail account with their username and password, but the application will return this if they don't have the setting to enable less secure access and I don't want to have to have that because not every user will know. I also don't need to get or send mail, I just need to get a valid sign in.</p>