I clicked around a bit to see what was still out there,and I fear that this type of access to gratis webmail is going the way of the dodo.
Not really, just the death of one-step authentication. I've been looking at workarounds and took the bold step of just f***ing googling it, which revealed this reddit thread. The poster describes the workaround for Auth 2.0. 2-step auth has to be authorized, so you're ok if you have a phone number to give to google:
Log into gmail
Click the user icon in the top-right corner and select "Manage your Go
+ogle Account"
Go to the security page (from the list at the left)
[This is necessary for the next step, but will stop your scripts from
+logging into smtp with your regular password. This is sort of the poi
+nt of no return. Make sure you are ready to go all the way and update
+ all of your email-sending scripts before continuing.] Enable two-ste
+p authentication.
Once two-step authentication is enabled, go back to the security page.
+ There should now be a new section called "App Passwords". Select it.
+ You will probably be asked to log in again.
Generate a new app password. I put in "Mail" under "select app" and "O
+ther" under "select device," but I don't think any of the information
+ you put it matters.
It will give you a 16-character app password which will be shown in ye
+llow.
Have your scripts use this password to log into smtp instead of your r
+egular password and everything should work. It will not prompt you fo
+r 2-step verification.
After doing this, my scripts seem to work. I did not have to make any
+other changes to the code other than substituting the app password fo
+r the original one. Hopefully it helps you too.
Gmailpocalypse this is not....