Hi Peter,
You'll want to use the "PlaySoundA" function found in the windows DLL "winmm.dll." I found the information I needed from this website:
http://www.dotnet247.com/247reference/msgs/20/104009.aspx
I created and attached a VI that will play the "MailBeep" event.
I hope this is useful for you! Good luck,