Corrected copy-pasta error w/ failure emails being set as successful.
Changed from patterns to exact string comparison -- these are Control-M patterns, but not patterns to be used by us, so and String.equals is more in order.
Changed format to stdout for easier readability.