mailer and template updated to add actions to task failed emails

@wsorenson @tpetr