I don’t know if this applies to all Gmail accounts, but the one I used on this instance keeps getting disconnected every day. I think THIS is the issue I am having regarding the disconnection.
This has nothing to do with google and more with the devs of mailspring using a depracated and unsecure OAuth2 flow. Google warned about this for a long time and mailspring should’ve reacted to it. Seems that Google now blocks mailspring because of this which breaks google integration.