Email Message on Contact Closure

I have a simple need. I have a couple contact closures I need to monitor. When the contacts close I need it to send an email message with a provided Internet connection. Is this something Arduino can do and is there an example of something like this somewhere?

Perhaps there is a premade inexpensive device that does this already?

Previous email discussions: