Add job exit state and code to email

Add a job's exit state (COMPLETED, FAILED, etc) and exit code to
email message
bug 737