After few weeks, gmail is not synced anymore
Summary
After having being able to use a gmail account from Mail during few weeks, a user reports that he is not able to use it anymore
Steps to reproduce
Add a Google account ... and wait few weeks.
I don't know if it's relevant, but the account has 2FA enabled
Last but not least, it does not matter where the Google is added (Mail or AccountManager).
What is the current behavior?
Few weeks after, gmail account is not synced anymore. A notification error appears Échec d'authentification pour <gmail address>
What is the expected correct behavior?
Gmail account is synced until it is removed.
Relevant logs and/or screenshots
What is strange is there is nothing in logs
Possible fixes
I think there is something with an authentication token. It should be valid during few week, and can't be renewed.