Oh crap. Gmail is deprecating support for picking up mail from a remote server using POP3 polling in January 😭 Given that I switched to this mode due to reliability problems with direct delivery via mail forwarding, this really sucks...
@jmason Good god why would they turn that off.
@nelson I know! It had a very elderly no-js-just-html UI flow; I wouldn't be surprised if some kind of UI related dependency deprecation drove this
@jmason do they also support pulling mail via IMAP?
@nelson @jmason Oh, having Gmail do the pulling. No, they don't support that on their side, but you can use fetchmail to pull from a remote and store in Gmail just as easily as the other way around.
@tknarr @jmason one thing I appreciate using the Shortwave email client is Gmail has a robust third party API. But does fetchmail have a "store in Gmail" system using some Google-proprietary API? Or do you have to forward it with a mail agent via SMTP and hope Google accepts it?

@nelson @tknarr @jmason

I wrote https://github.com/ScottESanDiego/gmail-api-client to work around this, using exim and fetchmail to get things into #gmail . It's working REALLY WELL so far, with all the usual filters and stuff, just as when using #gmailify .

Problem is that it uses "restricted" API calls which means annual code security reviews which I'm not going to do ($$) OR renew the auth every seven days. My app is "in production" so the token isn't expiring, not sure what happens when I fail to do a code review.

GitHub - ScottESanDiego/gmail-api-client

Contribute to ScottESanDiego/gmail-api-client development by creating an account on GitHub.

GitHub
@ScottE @nelson @jmason Hmm. 'deliver' can take email on stdin and send it to an IMAP server. That would avoid having to use any Gmail APIs at all. Using it with the --mda option to fetchmail looks promising.
@tknarr @nelson @jmason Yeah, the benefit of IMAP is no restricted API calls, but the downside is no filtering on Google's side. You'd have to implement spam and other filters upstream with Sieve or something.
@ScottE @nelson @jmason This sounds like just going the Workspace route and having GMail be the mailserver for the domain would be simpler. I'm pretty sure Google's going to phase out access to GMail via any routes other than the Web interface and their APIs, simply to get advertising, analytics and AI integrated without giving people an out. They'd probably drop accepting inbound mail via SMTP if they could get away with it.