There has been a policy change from Google's end, introducing restrictions in the connectors that can be using a logic app with a Gmail connector. All affected logic apps should have triggered an email regarding this change.
For your scenario, you can follow the steps documented to workaround these restrictions.