added timer file, set up (untested) email function