Added e-mail tests for tasks