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