Added email code, corrected file logging code to start a new file on a new day, removed the randomBoolean clause when checking / reacting to sensors, it should now react as long as it's been 30 seconds since last reaction and another reaction isn't currently running.
RelayController now logs that it is running every minute.
NumReactionsPerHour have been disabled for now.
Reaction count is reset once a day.
Each time a reaction happens the number of reactions for the day is displayed and logged