add tests for checking emails after tasks accepted or sent back.