hunk.code_window:         return f"{base_url}?brain_subscription_invitation={self.brain_id}"
       def resend_invitation_email(self):
           resend.api_key = os.getenv("RESEND_API_KEY")
           brain_url = self.get_brain_url()
           html_body = f"""
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:         brains_settings = BrainSettings()  # pyright: ignore reportPrivateUsage=none
           resend.api_key = brains_settings.resend_api_key
  
hunk.file_path: backend/core/models/brains_subscription_invitations.py
hunk.type: replace
file: secondbrain/
  .env
  .streamlit/secrets.toml
  **/*.pyc
  toto.txt
  *.ipynb
  log.txt
  
  
  
  
  # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
  
  # dependencies
  **/node_modules
  **/.pnp
  .pnp.js
  
  # testing
  **/coverage
  
  # next.js
  **/.next/
  **/out/
  
  # production
  **/build
  
  # misc
  .DS_Store
  *.pem
  
  # debug
  npm-debug.log*
  yarn-debug.log*
  yarn-error.log*
  
  # local env files
  .env*.local
  
  # vercel
  .vercel
  
  # typescript
  *.tsbuildinfo
  next-env.d.ts
  quivr/*
  streamlit-demo/.streamlit/secrets.toml
  .backend_env
  .frontend_env
  backend/core/pandoc-*
  **/.pandoc-*
  backend/core/application_default_credentials.json
  
  #local models
  backend/core/local_models/*
  
  
  ## scripts
  .migration_info