News for hackers. Stuff that matters.
Re:Ask HN: Overwhelmed with Non-Actionable Email by ineedasername on Saturday May 20, 2023 @02:17PM (#36014261)
Thanks, I may give it a shot with 3.5 and migrate when I get access. I'm not sure how 2FA will work with API access to my organization-managed g-suite gmail. Zapier doesn't seem to stumble over the need for 2FA that I have to go through IRL (which seems a potential security hole?) So maybe it won't be an issue if I write against the API (gmail) myself too. I think that's what I would have to do, if I use a simple python client then 2FA would almost definitely be triggered.
Re:Ask HN: Overwhelmed with Non-Actionable Email by tornato7 on Sunday May 21, 2023 @02:13AM (#36018454)
Yeah, just follow the Gmail API Python quickstart tutorial. You'll authorize your app to your account and then it can re-use the token without 2FA.