email: single-mailbox enroll field on Email Capture panel — v0.1.0:60

Adds a "Test with a single mailbox first" input (pre-filled with the admin's own
address) + Enroll this mailbox button calling the enroll-one endpoint, so capture
can be tried on one mailbox before enrolling the whole domain. runAction now sends
an optional JSON body. Enroll-all stays.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Keysat
2026-06-06 12:10:09 -05:00
parent ee02ccfd64
commit 1850bc4431
4 changed files with 53 additions and 9 deletions
+3 -2
View File
@@ -20,8 +20,9 @@ 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'
export const versionGraph = VersionGraph.of({
current: v_0_1_0_59,
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],
current: v_0_1_0_60,
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],
})
+16
View File
@@ -0,0 +1,16 @@
import { VersionInfo } from '@start9labs/start-sdk'
// Email Capture: add a single-mailbox enroll field (pre-filled with the admin's own
// address) so an admin can test capture on one mailbox before enrolling the whole
// domain. Calls the existing enroll-one endpoint; the enroll-all button stays. No
// schema migration.
export const v_0_1_0_60 = VersionInfo.of({
version: '0.1.0:60',
releaseNotes: {
en_US: [
'Email Capture: you can now enroll a single mailbox (pre-filled with your own address)',
'to test capture before turning it on for the whole team. The enroll-all option stays.',
].join(' '),
},
migrations: { up: async () => {}, down: async () => {} },
})