47dfd110a0
The box's existing service-account domain-wide-delegation grant already includes gmail.compose, which authorizes users.messages.send — verified 2026-06-15 by a token-mint probe and a live messages.send to grant. So CRM-originated mail can send through the account that already powers email capture: no SMTP account, no app password, no admin change. - backend/email_integration/gmail_send.py: send_via_gmail() impersonates a domain user and POSTs users.messages.send (reuses credentials.py + the compose scope; mirrors compose.py's REST pattern). - backend/digest_mailer.py: send_digest() prefers Gmail DWD when enabled, falls back to smtp_send otherwise. Sender = CRM_DIGEST_SENDER else first active admin. - server.py: the admin test endpoint now routes through digest_mailer (so the Settings button sends via DWD on the box with zero SMTP config). Recipient restriction to the admin set and no-leak error handling preserved. - test_gmail_send.py: build/send + transport routing (provider + urlopen faked). 19/19 backend green; s9pk typechecks. SMTP (v75) stays as the fallback transport. Send-path decision + scope finding recorded in ROADMAP.md and AGENTS.md.
45 lines
2.1 KiB
TypeScript
45 lines
2.1 KiB
TypeScript
import { VersionGraph } from '@start9labs/start-sdk'
|
|
import { v_0_1_0_39 } from './v0.1.0.39'
|
|
import { v_0_1_0_40 } from './v0.1.0.40'
|
|
import { v_0_1_0_41 } from './v0.1.0.41'
|
|
import { v_0_1_0_42 } from './v0.1.0.42'
|
|
import { v_0_1_0_43 } from './v0.1.0.43'
|
|
import { v_0_1_0_44 } from './v0.1.0.44'
|
|
import { v_0_1_0_45 } from './v0.1.0.45'
|
|
import { v_0_1_0_46 } from './v0.1.0.46'
|
|
import { v_0_1_0_47 } from './v0.1.0.47'
|
|
import { v_0_1_0_48 } from './v0.1.0.48'
|
|
import { v_0_1_0_49 } from './v0.1.0.49'
|
|
import { v_0_1_0_50 } from './v0.1.0.50'
|
|
import { v_0_1_0_51 } from './v0.1.0.51'
|
|
import { v_0_1_0_52 } from './v0.1.0.52'
|
|
import { v_0_1_0_53 } from './v0.1.0.53'
|
|
import { v_0_1_0_54 } from './v0.1.0.54'
|
|
import { v_0_1_0_55 } from './v0.1.0.55'
|
|
import { v_0_1_0_56 } from './v0.1.0.56'
|
|
import { v_0_1_0_57 } from './v0.1.0.57'
|
|
import { v_0_1_0_58 } from './v0.1.0.58'
|
|
import { v_0_1_0_59 } from './v0.1.0.59'
|
|
import { v_0_1_0_60 } from './v0.1.0.60'
|
|
import { v_0_1_0_61 } from './v0.1.0.61'
|
|
import { v_0_1_0_62 } from './v0.1.0.62'
|
|
import { v_0_1_0_63 } from './v0.1.0.63'
|
|
import { v_0_1_0_64 } from './v0.1.0.64'
|
|
import { v_0_1_0_65 } from './v0.1.0.65'
|
|
import { v_0_1_0_66 } from './v0.1.0.66'
|
|
import { v_0_1_0_67 } from './v0.1.0.67'
|
|
import { v_0_1_0_68 } from './v0.1.0.68'
|
|
import { v_0_1_0_69 } from './v0.1.0.69'
|
|
import { v_0_1_0_70 } from './v0.1.0.70'
|
|
import { v_0_1_0_71 } from './v0.1.0.71'
|
|
import { v_0_1_0_72 } from './v0.1.0.72'
|
|
import { v_0_1_0_73 } from './v0.1.0.73'
|
|
import { v_0_1_0_74 } from './v0.1.0.74'
|
|
import { v_0_1_0_75 } from './v0.1.0.75'
|
|
import { v_0_1_0_76 } from './v0.1.0.76'
|
|
|
|
export const versionGraph = VersionGraph.of({
|
|
current: v_0_1_0_76,
|
|
other: [v_0_1_0_39, v_0_1_0_40, v_0_1_0_41, v_0_1_0_42, v_0_1_0_43, v_0_1_0_44, v_0_1_0_45, v_0_1_0_46, v_0_1_0_47, v_0_1_0_48, v_0_1_0_49, v_0_1_0_50, v_0_1_0_51, v_0_1_0_52, v_0_1_0_53, v_0_1_0_54, v_0_1_0_55, v_0_1_0_56, v_0_1_0_57, v_0_1_0_58, v_0_1_0_59, v_0_1_0_60, v_0_1_0_61, v_0_1_0_62, v_0_1_0_63, v_0_1_0_64, v_0_1_0_65, v_0_1_0_66, v_0_1_0_67, v_0_1_0_68, v_0_1_0_69, v_0_1_0_70, v_0_1_0_71, v_0_1_0_72, v_0_1_0_73, v_0_1_0_74, v_0_1_0_75],
|
|
})
|