Mail doesn't archive anymore
I use Mail 16.0 in Ventura 13.5.2 and the archive function does not seem to work anymore. I use this client for my gmail and when I try to archive a message, it seems to be archived for a split moment and then the message returns to the inbox again. It has worked properly for years, I did not change any settings, in Mail or Gmail. I tried many things, such as updating the OS, removing and setting up my gmail-account fresh, but none of that helped.
I've seen more users on fora encountering this issue, but never found a working solution.
MacBook Air 13″, macOS 13.5