I need to check if an animal set off the framework before sending an email. If it was an animal who set motiondetection off, then I should not send an email. This can be done by looking in the dir where the ohotos reside and running a check against the photo with image recognition.