@notMyUserName
I just now closed eM Client and cut-and-pasted the command line you give and it didn’t fix the problem.
Then as the manually database repair didn’t fix the problem, the next step is to “try repairing your Gmail account” which re-syncs all your local eM Client labels & folders with your online account, or “try removing and re-adding your Gmail account” via the wizard as mentioned in my previous post above.
Em Client insisted on setting up gmail accounts as gmail accounts, it wouldn’t let you set them up as IMAP.
You can manually add an IMAP account via “Add account / Mail / Other”, but from what i understand Google now as a company “won’t allow IMAP to work with a generated app password” unless its a POP account which some eM Client users still do that way because they don’t want to use IMAP as yet. Google want you to now use the OAuth token authorisation method which only works in eM Client via using the automatic email wizard. As i said previously that works for myself & friends perfectly.
So you can certainly try adding your Gmail IMAP account “using the manual method” in eM Client with your gmail address and a generated app password from your Google account, but no guarantee that it will work, as i believe Google has disabled that manual method for IMAP. So if it doesn’t work, speak to Google.
Note:- If you do try using a Generated app password when manually setting up your Gmail account, you also normally need 2 step enabled in your Google account as per the Google webpage link above,
Insisted on “All Mail” being made visible (or whatever gmail calls it).
The All Mail folder “is part of all Google Gmail accounts” and will show on any mail client you install. eg: I just installed the latest Thunderbird Mail to test and after adding my Gmail account using again the automatic email wizard like in eM Client, the All Mail folder shows just like it does in eM Client, Without All Mail you don’t have a Gmail account as every label in Gmail connects to All Mail for Gmail accounts.
You can however hide the All Mail folder in eM Client, via “Right clicking on All Mail” and selecting “Hide”. It will then appear under “More” at the very bottom of your Gmail account. If you then want to see it again later, you can right click it again and click “Show”. Or just click on All Mail under More.
Note:- One thing with Google Gmail accounts and showing the All Mail folder is that eg: If you Archive an email in your Gmail account, it then “only shows in the All Mail folder”. Also if you accidentally remove a Gmail label, it will then only show in “All Mail”. So in my opinion its good to show All Mail to then be able to recover messages from the All Mail folder if you need to for any reason,