GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DpaForwardEmailService and GlobalSmtpTestEmailService onto the e-mail design system · Issue #946 · OpenResilienceInitiative/ORISO-UserService

DpaForwardEmailService and GlobalSmtpTestEmailService onto the e-mail design system #946

New issue
Copy link
New issue
Copy link
Closed
Task
Closed
DpaForwardEmailService and GlobalSmtpTestEmailService onto the e-mail design system#946
Task
Copy link
Assignees
shazia-k

Description

@Storypapst
Storypapst
opened on Aug 2, 2026
Issue body actions

Status 2026-09-24 · Readiness 3/5 — missing: DPA_FORWARD template kind question open

The contract mail is rendered by DpaSigningMailRenderer (kit page avv-unterschrift). Remaining: remove the old ConsultingTypeService endpoint /settingsadmin/dpa-signing-emails (PR in progress), receipt of the new mail on Dev, and decide whether the editable DPA_FORWARD template kind stays.

Readiness = one point each for: plain-language goal, testable acceptance criteria, dependencies resolved, code location correct on dev, verification path defined. Epic: OpenResilienceInitiative/ORISO-Frontend#828.


Two remaining direct-SMTP senders with their own markup:

  • DpaForwardEmailService — forwards the DPA for signature. Client-facing and legally relevant, so it should look like the rest.
  • GlobalSmtpTestEmailService — the admin SMTP diagnostic. Not a product mail, but it is the first mail a Träger admin ever receives; if it looks broken, the platform looks broken.

Note DPA_FORWARD also exists as an editable InviteEmailTemplateKind. Part of this issue is establishing which of the two actually sends, and removing or reconciling the other.

Design lives in ORISO-Frontend src/emails/ (branch feat/email-design-system-storybook).

Part of #828.

Reviewer test plan

  • Mail sent from a real trigger on Pre-Dev matches the Storybook story
  • Tenant primary/accent colour and logo come through
  • No hand-written HTML skeleton left in the Java class
  • text/plain alternative part is attached
  • Rendered in Apple Mail iOS or Gmail Android — no horizontal scrolling
  • Clarified whether DPA forwarding uses the Java sender or the DB template — and only one remains
  • Checked at 375px and at 320px (narrow phone)

Current delivery status — 30 September 2026

Working status: In progress; planned for v2.0.10.

Developed: DPA signing/forward rendering and shared dispatch exist; DPA forward has a recorded Dev receipt.

Still open: Legacy CTS removal, DPA signed notices and remaining route receipts are separate open gates.

Scope: Do not describe DPA_FORWARD as unimplemented.

Relevant change Verified GitHub state
ConsultingTypeService #162 Open for review; human review/merge remains.
UserService #1320 Open for review; integration conflicts remain.

Next action: Review CTS #162 and final sender stack, then test each DPA flow independently.

Acceptance still needed: Forward, signing and signed notice reach the correct party with valid link and no private-log leak.

The release and lane are planning fields. Existing readiness scores are retained; neither a board move nor a green PR establishes deployment or received mail.

For developers — audit boundary (skip for the progress overview):

Updated: 2026-09-30 11:47 UTC.
Native child of https://github.com/OpenResilienceInitiative/ORISO-Frontend/issues/828; live recursive Epic828 inventory contains58 unique descendants.
PR state/review/check snapshot:2026-09-30T11:29:19UTC. Source notes retain the dated code audit; this pass does not repeat every code or runtime test.
Current source, local verification, CI, human review, merge, deployment and real-mail receipt remain separate gates.
No new account, merge, deployment or acceptance was performed by this description update.

Release and delivery state — correction on 1 October 2026

This implementation is merged and belongs to v2.0.10. It is queued in QA internal for Dev/Stage. Missing agent test evidence or separate follow-up work does not move delivered scope back into development. Frank confirmed that the team performed manual testing.

Delivering PRs: #1258.

Reacted by coderabbitai

Activity

  1. coderabbitai commented on Aug 2, 2026

    @coderabbitai
    coderabbitaiBot
    on Aug 2, 2026 – with coderabbitai
    More actions
    🔗 Related PRs

    #439 - feat(auth): self-service password reset (mirrors Magic Link) [merged]
    #508 - Fix own-email rejection during consultant 2FA setup [merged]
    #728 - Fix email 2FA completion for encoded Admin usernames [merged]
    #885 - [Stability] Focus identity email address mutations [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. Storypapst
    added a parent issue on Aug 2, 2026
    • EPIC: transactional e-mails — one design system across every sending path ORISO-Frontend#828
  3. Storypapst
    added this to ORISO Roadmapon Aug 2, 2026
  4. Storypapst
    moved this to Backlog in ORISO Roadmapon Aug 2, 2026
  5. Storypapst commented on Aug 3, 2026

    @Storypapst
    Storypapst
    on Aug 3, 2026
    CollaboratorAuthor
    More actions

    Half built — commit 0255c771, PR #958.

    GlobalSmtpTestEmailService now renders the smtp-test template. It goes through the same skeleton as every other mail on purpose: a diagnostic that renders differently from production mail tests the wrong thing.

    The DPA half is not in this repository. DpaForwardEmailService only validates the sign link's origin and POSTs to ${consulting.type.service.api.url}/settingsadmin/dpa-signing-emails via DefaultDpaSigningEmailDispatchService. The HTML for the DPA mail is therefore built in ConsultingTypeService, not here.

    The design exists and is ready to consume — Email/Pages/AvvUnterschrift in ORISO-Frontend#867, with the freemarker and plain dialects generated. Someone should decide whether that port becomes a sub-issue against ConsultingTypeService; I have not opened one, because ORISO-Frontend#828 does not list that repository and I would rather not create work in a repo without an owner's agreement.

    This issue should stay open for the DPA half.

  6. BjoernLudwig
    moved this from Backlog to QA internal Dev in ORISO Roadmapon Aug 14, 2026
  7. BjoernLudwig
    changed
    Platform release
    to
    v2.0.2
    on Aug 14, 2026
  8. kiodreambau
    moved this from QA internal Dev to In progress in ORISO Roadmapon Aug 16, 2026
  9. Storypapst
    added the
    Task
    issue type on Aug 24, 2026
  10. Storypapst
    cleared
    Platform release
    on Aug 25, 2026
  11. Storypapst
    assigned
    shazia-k
    on Aug 26, 2026
  12. shazia-k
    added a commit that references this issue on Aug 29, 2026

    feat(email): move the hand-written mail HTML onto the design system (#…

    d025cbb
  13. Storypapst commented on Sep 7, 2026

    @Storypapst
    Storypapst
    on Sep 7, 2026
    CollaboratorAuthor
    More actions

    My coding agent checked the current issue/PR record. Technical follow-up: @shazia-k. PR #1124 is open (draft; CLEAN; no review decision). The earlier issue explicitly split UserService SMTP and ConsultingTypeService DPA email paths. Review the current mail PRs and prove both actual receipts before completing this combined request.

  14. Storypapst commented on Sep 14, 2026

    @Storypapst
    Storypapst
    on Sep 14, 2026
    CollaboratorAuthor
    More actions

    Verified 15 September 2026 against origin/dev @ 3342b2eb — half delivered, and the other half is in the wrong repository.

    • GlobalSmtpTestEmailService renders the smtp-test occasion through OrisoEmailRenderer. Done.
    • DpaForwardEmailService renders nothing. It validates the tenant and the sign link and delegates to DefaultDpaSigningEmailDispatchService, which POSTs {recipientEmail, tenantName, signLink, expiresAt} to ConsultingTypeService /settingsadmin/dpa-signing-emails. The DPA mail body lives downstream, not here.

    So the DPA half of this issue cannot be done in UserService. It is ORISO-ConsultingTypeService#142 (open draft, overlapping #135) that applies the design-system layout to the DPA invitation. This issue should either be recut to the SMTP-test half, or point at that PR for the rest.

  15. Storypapst commented on Sep 15, 2026

    @Storypapst
    Storypapst
    on Sep 15, 2026
    CollaboratorAuthor
    More actions

    Delivered on branch email-v2.1, head 4f62ca0e, based on 3342b2eb (dev). 4529 unit tests pass.

    Not cherry-picked. The source commit b5d2a945 is one 167-file commit mixing e-mail with case handover (including two Liquibase changesets) and account recovery, so the e-mail half was reassembled file by file.

    Taken: NotificationEmailService and GlobalSmtpSettingsResolver (new), TenantSystemEmailDeliveryClient, the OrisoEmailBrand rewrite to tenant branding, OrisoEmailDispatcher.sendOrThrow, EmailBrandingResolver with the first-party logo rule and a 10s TTL cache, MailService switching from the upstream HTTP call to local rendering, plus the 70 template resources.

    Left out: CaseHandoverEmailNotification, EventNotificationService, the case-handover classes and changesets, the account-recovery chain.

    Two traps that would have broken a straight copy:

    • getSingleTenancyTenantDataFresh() was added on dev, not deleted by pre-dev — copying TenantService.java across would have deleted a method dev needs. Only the getPlatformTenantData signature is taken.
    • InviteMailDispatchService changed on both sides; pre-dev's SMTP extraction is taken, dev's CONFIRMED_NOT_SENT / DELIVERY_UNCERTAIN dispositions are kept.

    Three things to review deliberately: OrisoEmailBrand.values(appUrl, themeColor) now ignores themeColor (three callers still pass one — no compile error, silent change); NotificationEmailService.render throws on an unmapped template name; after MailService the upstream service is out of the notification path except for sendErrorMail.

    Requires ORISO-TenantService branch email-v2.1 first.

    No pull request: the branch is pushed for the integrating developer to open one. Full cross-repository handoff in OpenResilienceInitiative/ORISO-Frontend#828.

    Receipt evidence is still outstanding — the Pre-Dev server is pinned to another workstream's test images until roughly 16 September 20:00, so no mail has been proven to arrive yet. Code verified, receipt not.

  16. Storypapst
    set
    Platform release
    to
    v2.0.6
    on Sep 15, 2026
  17. Storypapst
    changed
    Platform release
    to
    v2.0.7
    on Sep 16, 2026
  18. Storypapst
    cleared
    Platform release
    on Sep 16, 2026
  19. Storypapst commented on Sep 22, 2026

    @Storypapst
    Storypapst
    on Sep 22, 2026
    CollaboratorAuthor
    More actions

    Partly delivered: the SMTP test mail uses the ORISO design on dev. The DPA signing mail does not. It is still a hand-written card, and it is built in ConsultingTypeService, not here.

    Evidence (re-checked 23 Sep 2026)

    • ORISO-UserService dev @ 26fa52f1: GlobalSmtpTestEmailService.java:107 renders smtp-test.
    • DpaForwardEmailService renders nothing. It hands the request to ConsultingTypeService.
    • ORISO-ConsultingTypeService dev @ 8a61b1a: DpaSigningEmailService.java:122-144 builds a 620px Arial card by string concatenation, with German text only.

    Still open

    • Render the DPA signing mail from the kit's avv-unterschrift design. ORISO-ConsultingTypeService#142 (draft) covers the branding part.
    • The editable DPA_FORWARD template kind still exists next to that sender. Which one is authoritative is still undecided.
  20. Storypapst commented on Sep 23, 2026

    @Storypapst
    Storypapst
    on Sep 23, 2026
    CollaboratorAuthor
    More actions

    The contract signing mail ("Vertragsunterlagen") now comes from the ORISO design system and is sent by UserService itself; ConsultingTypeService no longer builds it by hand.

    It uses kit page avv-unterschrift, the same frame, sender block and footer as the invite mail, and the wizard preview comes from the same renderer as the sent mail. The SMTP test mail was already done.

    PRs

    • feat(dpa-mail): render and send the contract signing mail from the design system #1238 — renders and sends the signing mail from avv-unterschrift in UserService (merged 23 Sep)
    • feat(emails): contract-documents wording, copy-link fallback and Träger subject for the signing mail ORISO-Frontend#1544 — kit side: "Vertragsunterlagen" wording, copy-link fallback, Träger in the subject (merged 23 Sep)
    • fix(dpa-mail): show signing-link expiry in German local time ORISO-ConsultingTypeService#159 — German local time in the old ConsultingTypeService mail (merged 23 Sep); no longer used now that feat(dpa-mail): render and send the contract signing mail from the design system #1238 is in

    Still open

    • Remove the old ConsultingTypeService endpoint /settingsadmin/dpa-signing-emails (DpaSigningEmailController, DpaSigningEmailService); it is still on dev but nothing calls it any more.
    • Not on staging yet; one receipt check of the new mail on Dev.
  21. Storypapst
    set
    Platform release
    to
    v2.0.10
    on Sep 30, 2026
  22. Storypapst commented on Oct 1, 2026

    @Storypapst
    Storypapst
    on Oct 1, 2026
    CollaboratorAuthor
    More actions

    Short thesis: Source for DpaForwardEmailService and GlobalSmtpTestEmailService onto the e-mail design system has reached the published-branch stage.

    Problem: A linked source branch or merged source exists. This score does not mean human approval, Dev deployment, a received email, or completion.

    Readiness: 10/20. This is the GitHub delivery ladder, not a development percentage.

    Next step toward the next level: Run the documented automated review loop, resolve valid findings, and collect the next review evidence.

    Related source: PR 1258, PR 1320.

  23. Storypapst
    updated Platform release v2.0.10 on Oct 1, 2026
  24. Storypapst
    moved this from QA internal to QA external in ORISO Roadmapon Nov 4, 2026
  25. HelenaSKloeckner
    moved this from QA external to Done in ORISO Roadmapon Nov 18, 2026
  26. HelenaSKloeckner
    closed this as completedby moving to Done in ORISO Roadmapon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @shazia-k
    shazia-k

Labels

No labels
No labels

Type

Task

Fields

Priority

High

Platform release

v2.0.10

Projects

  • ORISO Roadmap
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.