code: public void setMailTimeout(Integer timeout) 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("timeout", Caster.toString(timeout, ""));
  	// config.setMailTimeout(timeout);
      }
docs: sets the timeout for the spooler for one job
  
  @param timeout
  @throws SecurityException