Vanguard said:
The new-mail notification triggers when new mail is received and before
the execution of any rules. That means the new-mail notification (and
sound) occur despite whatever rules you have defined. No fix for what you
want.
Sound wise, you could have your rule moving stuff first on the list (which
it should be) and have the 'Stop Processing More Rules' action (which it
should have) and simply put a rule below that that plays a sound for *every*
message. Since the messages firing the first rule won't fire any other
rules, you'd only get the sound for messages not going to that folder.
The notification, otoh, I think you're mostly sol, at least when it comes to
the systray. You could look at the other actions on the rules and maybe one
will be a suitable replacement for the onscreen representation of new
messages (like the Display Desktop Alert, which would show the toast, or
Display a specific message in the New Items Alert window, which would give
you a more permanent on-screen notification).
I guess, if you wanted to write your own application, you could use the
perform a custom action to add the systray icon, but you might want to just
disable/hide the systray New Mail icon and just deal with the desktop alert
and alert window from above.