Not sure I know what you mean. Of course I can delete emails. Even without needing to open them (marking them for deletion does not open them).
And this, maybe?
http://kb.mozillazine.org/Deleting_m..._IMAP_accounts
P.S. I used it under Windows before, now under Linux. Both work(ed) well.