docs: public static Session getSession(final ServerSetup setup, Properties mailProps) {
          Properties props = setup.configureJavaMailSessionProperties(mailProps, false);
  
          log.debug("Mail session properties are {}", props);
  
          return Session.getInstance(props, null);
      }