code: public static void sendJobCancellationEmail(String jobId, String message, State jobState) throws EmailException {
      sendEmail(jobState, String.format("Gobblin notification: job %s has been cancelled", jobId), message);
    }
docs: Send a job cancellation notification email.
  
  @param jobId job name
  @param message email message
  @param jobState a {@link State} object carrying job configuration properties
  @throws EmailException if there is anything wrong sending the email