I would add an “Advanced Options parameter” configuration to the workflow, as mentioned in another thread. Otherwise emails are doubled, tripled, etc…
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"