K9 Push Not Working Correctly With Gmail

I’ve been using K9 for many years. I am currently running v6.804 on a Samsung S22 with Android 14. The App battery optimization is turned off (Unrestricted).

The problem may have been going on for a bit longer, but I really started noticing it about a week ago. I have two Gmail accounts on this phone. One I use for normal communications and the other for alarms from the equipment that I monitor. Both are behaving the same way.

I am no longer getting instant notifications when an email comes in. Through experimentation and observations, including looking at the debug log, the emails come through when the Push Idle Time expires and is connection is updated. I also observed that any pending emails will also come through as soon as I open a connection from my desktop computer, which uses Outlook.

Does anybody else have this problem? As I mentioned, I don’t know exactly when this problem started, but it’s fairly recent (at most a couple of weeks). Is this caused by something Google/Gmail has changed recently? I do know that my carrier (Verizon) pushed an update last week, but I first noticed this problem a day or so before that, so I don’t think that was the cause.

This is a follow-up for others that may come across this post.

A couple days ago, notifications started working correctly again; I waited a couple of days to make this post to ensure that things continued to work correctly. Now, as soon as an email hits the Google/Gmail server, I am notified within a few seconds. This is the same behavior I’ve been accustomed to for several years. I made no changes to anything to resolve the issue. The only thing I can conclude is that Google/Gmail was having problems with their Push protocol and resolved them, or they made some (undesired) changes and then removed them.