adding mirth log watching and email on errors