docs: def config(env=DEFAULT_ENV, default=None):
      """Returns a dictionary with EMAIL_* settings from EMAIL_URL."""
  
      conf = {}
  
      s = os.environ.get(env, default)
  
      if s:
          conf = parse(s)
  
      return conf