Added a more complex and thorough email address validator, consistent with RFC 822, sourced from http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html via http://stackoverflow.com/a/201378
Updated the run script to notify on failure every 10 restarts, since a systemic error would flood the recipient inbox with messages