What are the recommended Gmail IMAP settings to use with eM Client? Specifically the Auto-Expunge options.

I am still fighting with the “Archive” button in eM Client. I creates duplicate messages in my “All Mail” folder.

I am wondering if this behaviour is related to the Gmail IMAP settings and if I have to adjust the default settings?

Could someone from eM Client please confirm the correct/suggested settings to use with eM Client?

Thanks.