add emailnotify & reset threadstatus