track consecutive failures

default to sending after 2 failures in a row, but give the option to
override the default.  Errors are always logged, but log method has the
ability to specify email notification or not.