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.
Edit: There is a fix for this. I created a separate issue: Google OAuth no longer working