code: def config(name='EMAIL_URL', default='console://'):
      
      conf = {}
      s = env(name, default)
      if s:
          conf = parse_email_url(s)
      return conf
docs: Returns a dictionary with EMAIL_* settings from EMAIL_URL.