From 30fbff883f2715c6c075e8a04600647707dcd962 Mon Sep 17 00:00:00 2001 From: JasonFraser Date: Sun, 4 Oct 2026 16:38:26 -0400 Subject: [PATCH] Rename website/backend's sender name default to "Bettersight" It now sends notifications for both bi.bettersight.io and bettersight.io's contact forms, so "Bettersight Intelligence" (naming just one of the two products) was no longer accurate as the From name. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y --- website/.env.example | 2 +- website/backend/.env.example | 2 +- website/backend/config.py | 10 +++++++--- website/docker-compose.yml | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/website/.env.example b/website/.env.example index 32dda63..0d2b17c 100644 --- a/website/.env.example +++ b/website/.env.example @@ -5,7 +5,7 @@ # each of these actually does inside the app. RESEND_API_KEY= -MAIL_SENDER_NAME=Bettersight Intelligence +MAIL_SENDER_NAME=Bettersight MAIL_SENDER_ADDRESS=support@bettersight.io SALES_EMAIL=sales@bettersight.io SITE_BASE_URL=https://bettersight.io diff --git a/website/backend/.env.example b/website/backend/.env.example index 52dde8a..88d4112 100644 --- a/website/backend/.env.example +++ b/website/backend/.env.example @@ -20,7 +20,7 @@ RESEND_API_KEY= # The "From" name/address on every email this backend sends. The address # must be on a domain verified in Resend (step 1 above). -MAIL_SENDER_NAME=Bettersight Intelligence +MAIL_SENDER_NAME=Bettersight MAIL_SENDER_ADDRESS=support@bettersight.io # Where "Request a demo" and calculator lead notifications are delivered. diff --git a/website/backend/config.py b/website/backend/config.py index 50e0365..e551f3e 100644 --- a/website/backend/config.py +++ b/website/backend/config.py @@ -1,8 +1,8 @@ """ Config for the website's own lightweight backend — deliberately separate from apps/bi/backend/config.py. This site is its own deployment with its -own .env and its own Resend account; nothing here is shared with the main -app. +own .env; its Resend account is the same one already used for Sightbox's +trial-expiry emails, not a separate one. """ import os @@ -10,7 +10,11 @@ import os class Config: RESEND_API_KEY = os.getenv("RESEND_API_KEY", "") - MAIL_SENDER_NAME = os.getenv("MAIL_SENDER_NAME", "Bettersight Intelligence") + # "Bettersight" (not "Bettersight Intelligence") — this one backend + # sends notifications for BOTH bi.bettersight.io (the AI product) and + # bettersight.io (the parent company's apex page), so the From name + # stays neutral rather than naming just one of the two. + MAIL_SENDER_NAME = os.getenv("MAIL_SENDER_NAME", "Bettersight") MAIL_SENDER_ADDRESS = os.getenv("MAIL_SENDER_ADDRESS", "") SALES_EMAIL = os.getenv("SALES_EMAIL", "sales@bettersight.io") # Used to build absolute asset URLs (the logo) inside emails — email diff --git a/website/docker-compose.yml b/website/docker-compose.yml index 9ed6a54..b3be386 100644 --- a/website/docker-compose.yml +++ b/website/docker-compose.yml @@ -35,7 +35,7 @@ services: # these for real there. See backend/.env.example for what each does. environment: RESEND_API_KEY: ${RESEND_API_KEY:-} - MAIL_SENDER_NAME: ${MAIL_SENDER_NAME:-Bettersight Intelligence} + MAIL_SENDER_NAME: ${MAIL_SENDER_NAME:-Bettersight} MAIL_SENDER_ADDRESS: ${MAIL_SENDER_ADDRESS:-} SALES_EMAIL: ${SALES_EMAIL:-sales@bettersight.io} SITE_BASE_URL: ${SITE_BASE_URL:-https://bettersight.io}