New Mail Sound - The Perl Way
You’ve got mail” is so 20th century. Use Perl and Sound eXchange (SoX) to play sound files on your Linux or Windows computer based on the content of incoming e-mail messages. Your system can compose and blend certain sounds to give you a heads-up on the who, what, and why of your in-box content.
This article on IBMs developerworks shows how to create and play back custom sound files based on the content of incoming e-mail messages.