Keysat fee037a630 Apply review polish to the digest send path (post-v0.1.0:76)
Non-blocking items from the v76 reviewer pass. No redeploy needed — the box runs
v76 and its happy path is unaffected; these ride the next build:

- digest_mailer.send_digest: when Gmail is enabled but no sender resolves
  (CRM_DIGEST_SENDER unset and no admin email), raise NoTransport so the caller
  returns a clear 400 instead of a generic 502.
- gmail_send.send_via_gmail: wrap OSError/URLError (timeout/DNS) as a RuntimeError
  ("Gmail API unreachable: ...") to match the HTTPError handling; include the
  sender in the HTTPError message for debuggability.
- credentials.py: correct the now-stale GMAIL_COMPOSE_SCOPE comment (the digest
  mailer sends with this scope; only outreach drafts never send).
- test_gmail_send.py: add the HTTPError->RuntimeError branch, default_sender DB
  fallback (+None case + env override), and the send_digest SMTP-tag path.

19/19 backend tests green.
2026-06-15 20:37:49 -05:00
2026-02-27 12:44:50 -06:00
2026-02-27 12:44:50 -06:00
2026-02-27 12:44:50 -06:00
2026-02-27 12:44:50 -06:00
2026-02-27 12:44:50 -06:00
2026-02-27 12:44:50 -06:00
S
Description
No description provided
52 MiB
Languages
Python 55.2%
HTML 36.6%
TypeScript 6.4%
Shell 0.8%
JavaScript 0.4%
Other 0.6%