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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
This commit is contained in:
JasonFraser 2026-10-04 16:38:26 -04:00
parent f6983d13d7
commit 30fbff883f
4 changed files with 10 additions and 6 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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}