Where does the notification sound come from in OS X?

Solution 1:

I seems that I use filters in GMail to skip inbox, and the sound is actually come from Mail.app. As a result, no new mail arrives to the Inbox of Mail.app, but to the Archive of the Mail.app.

In the preference of Mail.app, one option is to choose "Inbox Only" for "New message notifications". But it seems that this option will not mute the new messages sound when new message arrive to other mailbox, only skip the notification alert that shows up in the upper right corner of the screen.