What a change from the original “Don’t-be-evil” Google! The shiny knight is slowly but constantly turning into an harsh evil tyrant. See what Yeupou writes at the beginning of Fetching mails from gmail.com with lieer/notmuch instead of fetchmail – # cd /scratch
Google is gradually making traditional IMAPS access to gmail.com impossible, in it’s usual opaque way.
So the time has come to leave Google. It will be a tiring effort, it will be difficoult, but it has to be done.