check whether a task has been finished and nofify me via email