Improve email notifications status messages

Add "Failed with output", and shorten "Failed with non-zero exit code"
to "Failed".