Button email help?

I want to do a project that when I press a button it sends an email. I have an idea of how it will work (as in what programs) but other than that Im stuck.(;
I'm not sure what the code will be but I want to do it the same way as they did it Overview | Arduino Lesson 17. Email Sending Movement Detector | Adafruit Learning System but just without the sensor. Is there anyway to do this? If so how would I set it up and what would the code be?

Thanks for the help!
Ethan

Have a look at this:

It is pretty basic but should give you a good idea of a quick and easy way of checking for button presses, and gives you a circuit to work from.
If you go through the code in the link you posted it shouldn't be too hard to substitute in the button press code for the PIR stuff.

Here is the email part. Replace the "Press 'e' to send" with your button press as the trigger.
http://playground.arduino.cc/Code/Email

ok thanks so much for the help!

Note that what SurferTim has posted requires the Ethernet shield, whereas the adafruit code uses a pc to send the email

ok thanks(: