I use mailwasher prior to receiving emails in Thunderbird. Mailwasher shows all the emails on the server. Spam gets a delete tick automatically. When I process the mail. The spam gets deleted and my other mail ends up in Thunderbird. I leave mailwasher running in the system tray checking emails automatically.