Yes there is, but why download all the email to first find the spam, with mailwasher a very limited sub set of the email is downloaded, headers, first X lines of email (X being user configurable) text based only. Those automatically or user selected as spam are deleted from the email server before calling the email client to download the remainder of clean ones.