Kmail: I have to delete emails (at least) twice

Copies of all emails from my gmail account go to both All Mail and Inbox. Some also go to other folders as well. Other clients will delete all instances of the same email, or mark them as read, simultaneously… is there a way to set this up in Kmail? I’ve put in a lot of effort over the past few days to migrate my stuff over to the native KDE PIM suite, and am finding a lot to like, but this is hyper-annoying. Is there a fix?