Foscam Plugin for Indigo

Hi folks, I'm working on an Indigo plugin to wrap and extend the web api for Foscam webcams. One of the actions I am adding to this plugin is the ability to send an email containing a capture from the camera. I am currently doing all the mail-sending manually using python's smtplib. I'd much prefer to use the provided indigo.server.sendEmailTo method so that I can leverage the built-in smtp settings instead of unnecessarily managing them in plugin preferences. The only pickle is that I don't see anything in the documentation regarding if/how attachments can be added to the email message if it is sent using sendEmailTo. Any help would be greatly appreciated. All my current plugin projects are hosted on GitHub, and I welcome anyone interested to fork them at their leisure 
https://github.com/discgolfer1138/indigo_foscam
(the plugin mentioned above; wrapper for foscam webcam)
https://github.com/discgolfer1138/indigo_pushover
(wrapper for the Pushover API, allows you to send push notifications to mobile devices)
https://github.com/discgolfer1138/indigo_yamaharx
(wrapper for web api for Yamaha RX-series receivers)

https://github.com/discgolfer1138/indigo_foscam
(the plugin mentioned above; wrapper for foscam webcam)
https://github.com/discgolfer1138/indigo_pushover
(wrapper for the Pushover API, allows you to send push notifications to mobile devices)
https://github.com/discgolfer1138/indigo_yamaharx
(wrapper for web api for Yamaha RX-series receivers)