iOS 26 and iPadOS 26 Mail not syncing

I had frequent problems like this and what I ended up doing is switching to a mail provider that supports ActiveSync (Exchange). No more imap for me. Not a big help to solve your problem, but perhaps commiseration is something.