Skip to content
  • Bo-Chun Chen's avatar
    f87d4187
    Use jinja2 template engine for email body · f87d4187
    Bo-Chun Chen authored
    mail.py:
      define variable related to email
      `body` is the template we will use in agent
    
      for variables that are pre-defined in the same file,
          use single curly bracket for it.
      e.g. {info_url}
    
      for `username` or other variables that are undefined until msg is received,
      use four curly brackets for both open and close
      e.g. {{{{ username }}}}
    f87d4187
    Use jinja2 template engine for email body
    Bo-Chun Chen authored
    mail.py:
      define variable related to email
      `body` is the template we will use in agent
    
      for variables that are pre-defined in the same file,
          use single curly bracket for it.
      e.g. {info_url}
    
      for `username` or other variables that are undefined until msg is received,
      use four curly brackets for both open and close
      e.g. {{{{ username }}}}
Loading