Create cam_mail_intercept.py
Create cam_mail_intercept.py

hangoutsbot plugin for integration with surveillance systems that send out notifications 
by email (containing webcam snapshots). 
The plugin acts as a non-secure email relay on your local network, 
intercepts some messages and forwards them to your (hanghoutsbo't accounts) provider's smptp email relay.
Attention, the mail relay works uprotected within your local network, protected over the Internet,
so associate it only with your bot's own email account, not with your personal email account.
This software has only been tested with notifications generated by a synology surveilance station.
Direct video grabbing has been tested with apexis J cams
jhonnyam123/hangoutsbot,cd334/hangoutsbot,makiftasova/hangoutsbot