code: public boolean isUndefined() {
          return StringUtils.isBlank(text) || StringUtils.isBlank(from) || StringUtils.isBlank(subject);
      }
docs: Indicate whether email settings are defined.
  
  @return true if undefined, false otherwise.