IMAP: Gmail Drafts/Trash Not Working - Duplicate folder name (Failure)

This is how my Gmail online Labels are setup for the Gmail System Labels (Bin) & Labels [IMAP]/Trash.

I then see that Gmail IMAP setup in eM Client as Trash under my Gmail account.

I had the same problem. I finally figured it out. Here is the “nonsensical” cure:
Log into your Gmail account on your web browser. Click the gear icon on the upper right, then click “see all settings”, then choose the “Forwarding and POP/IMAP” tab at the top. Near the bottom, choose “enable IMAP” and then at the very bottom, click “Save changes”.
Again, click the gear icon on the upper right, then click “see all settings”, but then choose the “labels” tab. In the right hand column, which is “show in IMAP” check at least the labels Sent, All Mail, and Trash. (you my choose any additional labels you want to appear in em client).
next, choose the “Forwarding and POP/IMAP” tab again. This time choose “Disable IMAP”, and then click “Save Changes”.

I solved this problem by re-syncing mailboxes: mbsync [email protected].