This is the intended behavior. Spam is "ignored" in the count of new mail messages that have arrived. Most people aren't excited about being notified about spam.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not show a tray icon if an incoming email is identified as a spam
email.
This is the intended behavior. Spam is "ignored" in the count of new mail messages that have arrived. Most people aren't excited about being notified about spam.