I hate to say anything is wrong with your otherwise excellent app, but thought to mention this as something you could probably easily fix.
My imap junk folder often has a large number of messages. So, I often go there and simply select "Delete all" from the menu. This works fine but sometimes, after exiting from the folder, Aquamail occasionally shows that some messages remain in the junk folder even though the folder is actually empty. Repeating "Delete all" a second time (in the empty folder) resets the counter to zero.
This is purely cosmetic but may be a time issue easily fixed.
My imap junk folder often has a large number of messages. So, I often go there and simply select "Delete all" from the menu. This works fine but sometimes, after exiting from the folder, Aquamail occasionally shows that some messages remain in the junk folder even though the folder is actually empty. Repeating "Delete all" a second time (in the empty folder) resets the counter to zero.
This is purely cosmetic but may be a time issue easily fixed.