refs #12 implement log to email