code: public void setMailSpoolEnable(Boolean spoolEnable) throws SecurityException {
  	checkWriteAccess();
  	boolean hasAccess = ConfigWebUtil.hasAccess(config, SecurityManager.TYPE_MAIL);
  
  	if (!hasAccess) throw new SecurityException("no access to update mail server settings");
  	Element mail = _getRootElement("mail");
  	mail.setAttribute("spool-enable", Caster.toString(spoolEnable, ""));
  	// config.setMailSpoolEnable(spoolEnable);
      }
docs: sets if spool is enable or not
  
  @param spoolEnable
  @throws SecurityException