Add email script.

Add a script that sends an email to any interested parties if motion is detected by the camera. Includes an attachment of the most recently captured image.
Change email message to be generic.