I'm creating an application that requires sound in the program. I'm incredibly stuck on it and couldn't find any answers.
So here I am, and I'm wondering if they can be answered:

1. How can you play a sound in the background at the click of a button?
2. How do you turn off the sound (mute) and turn back on the sound (unmute) at the click of a button?

I'm also wondering if I could click on a picture, and an email can be automatically composed on the internet via Gmail

3. How do you give it the function explained above?