Duplicated ProtonMail emails

I’ve connected ProtonMail via ProtonMail Bridge and it’s working.
Well kind of.

Sent emails are working as they should.
All incoming emails are duplicated.

They can be deduplicated using dedicated tool, but it’s not really a solution to deduplicate all the time.

Seems I’m not the first one with the problem:

but unfortunately solution wasn’t provided.

Any ideas how to fix it?

Thanks,
Denis

In eM Client go to Menu > Accounts.

Click on the Diagnostics tab for this ProtonMail account.

Add this to the Advanced Options parameter field:
--imap-list-ignore-path "All Mail"

Click Save & Close and restart eM Client.