Skip to content

feat: consolidate workspace email on Mailjet - #200

Merged
brycejohnson1417 merged 7 commits into
mainfrom
codex/199-mailjet-consolidation
Sep 29, 2026
Merged

brycejohnson1417 merged 7 commits into
mainfrom
codex/199-mailjet-consolidation

Conversation

@brycejohnson1417

@brycejohnson1417 brycejohnson1417 commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #199.

Existing transactional email callers still depend on retired provider configuration, and administrators cannot configure the selected provider in Settings. This change adds an organization-scoped Mailjet adapter and a complete administrator Settings flow for encrypted credential storage, sender verification, explicit test send, editing, and disconnecting. Existing alert and manual debrief callers use this adapter; scheduled debrief copy accurately states that automation is paused.

The 21-file scope is one provider boundary change: server adapter, credential persistence, route, Settings controls, existing callers, additive provider enum, and tests. It does not add customer campaigns, activate scheduled sends, remove historical tables, or change access policy.

Validation: npm run verify passed 60 test files / 263 tests, lint, types, Prisma validation, and build on main e4732d2 plus this change. Real Chromium checks passed the mobile Settings workflow and dashboard PDF download. Provider network, response validation, encryption, and admin/org guards have focused tests. Settings browser tests use controlled provider responses; live provider acceptance and inbox delivery require a separate configured-account test.

Release considerations: additive enum and dedicated encryption configuration are required. Missing configuration produces an explicit setup state. Provider failures are bounded and surfaced without automatic duplicate-send retries.

@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
picc-push Ready Ready Preview Sep 29, 2026 7:04pm UTC

@brycejohnson1417 brycejohnson1417 changed the title feat: consolidate Mailjet delivery and admin connection settings feat: consolidate workspace email on Mailjet Sep 29, 2026

Copy link
Copy Markdown
Owner Author

@bryce approval requested: Approve the additive MAILJET provider enum migration, creation of a dedicated deployment encryption secret, and release of the validated Mailjet Settings integration; real credentials will be entered through Settings and no customer email or scheduled delivery will be activated.

Copy link
Copy Markdown
Owner Author

Additional regression proof: npm run test:e2e -- tests/e2e/mailjet-settings.spec.ts passed in the local mobile viewport. The test uses controlled provider responses and sends no external email. Exact implementation head 4001d13 has successful CI and Vercel preview checks. Release remains approval-gated for schema and encryption-secret setup.

Copy link
Copy Markdown
Owner Author

Release validation is being refreshed on current main. The release adds the MAILJET provider enum and a dedicated encryption key for stored credentials. It does not activate scheduled email. Live provider validation remains separate from the passing fixture-based UI tests.

@brycejohnson1417
brycejohnson1417 marked this pull request as ready for review September 29, 2026 18:55
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Copy link
Copy Markdown
Owner Author

Additional browser validation: all eight contact-workspace scenarios now pass across the final focused runs, including Gmail retry/disconnect, manual debrief recipient saving with scheduling paused, contact creation, Gmail suggestions, and account follow-up actions. Fixtures use example identities and reserved addresses. The application source remains the same tree that passed all 263 unit/integration tests and the full build.

@brycejohnson1417
brycejohnson1417 merged commit 2280256 into main Sep 29, 2026
4 checks passed

Copy link
Copy Markdown
Owner Author

Released main 2280256 to https://piccnewyork.org, deployment dpl_3c1Lb4dvMth6CgbzSw4dqtXiZxvz READY. Authenticated production Settings now renders Mailjet and the paused-scheduling/manual-debrief controls. Live credential validation and recipient delivery are still pending configuration; no live provider send has been claimed.

This branch was successfully deployed

1 active deployment
Preview — 2b34e940 Deployed Sep 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate application email delivery on Mailjet with admin settings

1 participant