The "problem" with imap is that none of the GMail filters (including spam detection) work. :-( The whole situation really sucks.
I hacked together https://scotte.ai/scotte/gmail-api-client/ which has been working very well for me for about a month (fetchmail->exim->gmail-api-client as the delivery program). The gotcha is that if you leave the app in "Testing" then you need to re-auth every week (ugh) and if you put it in "Production" then Google makes you jump through a bunch of hoops (including a $$ code review because it uses "restricted" APIs). So far I put mine in "Production" and the token refresh works (aka, well past the 1 week expiry) and haven't done any of the code review stuff...and it seems to be working. Feels a tad fragile though. On Sun, Jan 11, 2026 at 8:01 AM Max Zettlmeißl <[email protected]> wrote: > On Sun, 11 Jan 2026 at 02:02, Michael Orlitzky <[email protected]> wrote: > > > > I think they are only killing off POP3 sync, not IMAP. But if they > > are, you can run net-mail/imapsync in a cron job as a last resort. > > > > Yes, but only because they never supported fetching mail from other > accounts via IMAP. > > imapsync (or similar software) will work, but you will require a > machine to run it on and connect to both accounts via IMAP all the > time. > You will basically be handling the synchronisation yourself where > Gmail currently fetches the emails directly from another account. > There are certain limits if you do this (afaik 500MB upload per day > via IMAP and more if you use their Gmail API to append the mails.) > > >
