Creating an Email plugin

I’m interested in creating an Email plugin where I can plug in my own smtp server, port, username, password and email addresses. I want it integrated into Vera so that it can be chosen to be notified for triggerable events (thus eliminating the need to use mios.com for their email service). How do I get started?

Any bare bones plugin template available for me to hack away? Anyone else interested in a plugin like this?

Have a look in here for non-SSL SMTP:
http://wiki.micasaverde.com/index.php/Luup_plugins_and_Luup_code#Notifications

The Lua lib that does the lifting hasn’t integrated the TLS/SSL hooks to do that, so people tend to use “open” Relays so they can use regular SMTP.

SND: [tt]http://forum.micasaverde.com/index.php/topic,6656.0.html[/tt]