Remove SendGrid dependency — Gmail OAuth covers all email #122
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
plan-pal-e-platform→ Platform Hardening → discovered scopeRepo
forgejo_admin/pal-e-platformUser Story
As a platform operator
I want to remove the unused SendGrid dependency
So that email delivery uses a single path (Gmail OAuth) with no dead credentials lying around
Context
During Keycloak SMTP investigation (2026-03-21), discovered SendGrid account is out of credits (
451 Maximum credits exceeded). basketball-api already uses Gmail OAuth for all email delivery viawestsidebasketball@gmail.com. SendGrid adds no value — it's a dead dependency with an orphaned API key.Keycloak SMTP was briefly configured with SendGrid creds and needs to be reverted to empty (or replaced with Gmail app password once generated).
File Targets
~/secrets/sendgrid/api_key— deleteFiles the agent should NOT touch:
basketball-api/src/basketball_api/services/email.py— Gmail OAuth, unrelatedAcceptance Criteria
Test Expectations
grep -r sendgrid ~/pal-e-platform ~/pal-e-services 2>/dev/nullConstraints
Checklist
Related
pal-e-platform— platform infrastructureScope Review: READY
Review note:
review-222-2026-03-22All file targets verified. SendGrid secret exists (
~/secrets/sendgrid/api_key), zero references in any codebase, no downstream dependencies. Clean orphan removal. Points=1 appropriate.