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
+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 () => {} },
})