GeezerVison is showing github.com — Feature request: welcome mail after anonymous registration · Issue #873 · OpenResilienceInitiative/ORISO-Frontend
Feature request: welcome mail after anonymous registration #873Description
Status 2026-09-24 · Readiness 4/5 — missing: body still says no sender exists
A sender exists (WelcomeEmailService.java:76, called from CreateUserFacade.java:177). But it sends only through the Träger's own mail server, which cannot work on dev (OpenResilienceInitiative/ORISO-UserService#1006), and never for a Träger without one (#1562). Remaining after that: receipt after a real registration on Dev.
Readiness = one point each for: plain-language goal, testable acceptance criteria, dependencies resolved, code location correct on dev, verification path defined. Epic: #828.
Feature request — designed, no sender exists.
Email/Pages/Willkommen is designed and in Storybook. Nothing sends it.
The case for it: registration is anonymous and the generated user name cannot be recovered. Right now a person finishes registration, and the one credential they must keep exists only on a screen they may already have closed. A welcome mail is the only durable copy — which is also exactly why it needs care, because it puts that user name in a mailbox.
Worth considering as a new event_notification occasion rather than a mail-only feature, so it appears in the same matrix as everything else.
Open questions for refinement:
- Do we send it at all, given it writes the user name to an unencrypted channel?
- If yes, is it opt-in during registration?
- Does an advice seeker even have an e-mail address at that point? Registration allows no-e-mail accounts, and those users are locked out of every recovery path — see the Erstantwort work.
Part of #828.
Reviewer test plan
- Decision recorded on whether we send it at all
- If sent: mail arrives on Pre-Dev after a real registration
- Matches
Email/Pages/Willkommen
- Behaviour defined for accounts registered without an e-mail address
- Checked at 375px and at 320px (narrow phone)
- Checked at 375px and at 320px (narrow phone)
Current delivery status — 30 September 2026
Working status: In progress; planned for v2.0.10.
Developed: Registration invokes welcome mail on earlier Dev source; a saved PLATFORM route is proposed in the sender stack.
Still open: Human review and real registration receipt remain.
Scope: Successful registration must not roll back because welcome SMTP fails.
| Relevant change |
Verified GitHub state |
| UserService #1320 |
Open for review; integration conflicts remain. |
| Helm #386 |
Merged to dev; deployment not established here. |
Next action: Review UserService #1320 welcome route, then register a Dev account.
Acceptance still needed: The new account receives one correctly branded welcome mail through saved PLATFORM SMTP.
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.
Activitycoderabbitai commented on Aug 2, 2026
🔗 Related PRs
#272 - feat(registration): welcome loading animation into the chat room [merged]
📝 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.
🧪 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! Storypapst commented on Aug 3, 2026 CollaboratorAuthor More actions Built — ADR-019 confirmed, so this is no longer a request. ORISO-UserService commit e34dd39e (PR #958).
WelcomeEmailService renders willkommen and sends it after the account and the first session exist.
Its job is the generated user name. Registration is anonymous, ORISO cannot recover the name, and a recipient who loses it loses the account and the counselling with it — the mail puts it somewhere outside the browser session that created it.
Four deliberate silences, each tested:
- It does not run inside the provisioning try/rollback. A bounced mail must not undo a registration.
- Nothing is sent to an address ending in the configured dummy suffix. That is the normal case for an anonymous registration rather than an error — the user name is on screen at the end of registration either way.
- Nothing is sent without a user name to carry. A mail saying "keep this safe" and then showing nothing is worse than no mail.
- Nothing is sent when the tenant has no SMTP settings, rather than throwing.
Also adds OrisoEmailDispatcher: the five direct-SMTP senders each carried their own copy of the same Properties / Authenticator / Transport.send. New senders use it instead of adding a sixth; moving the existing five over is deliberately a separate change.
One gap, stated rather than hidden: the call site in CreateUserFacade has no test. There is no happy-path test for createUserAccountWithInitializedConsultingType to hang one on, and building one would mock two dozen collaborators to assert a single line. The sender itself has 6 tests using the real renderer; end-to-end proof belongs to ORISO-E2E#52. Storypapst commented on Sep 7, 2026 CollaboratorAuthor More actions @Shirloin My coding agent reports: US958 includes welcome sender, with explicit no-email/dummy/SMTP silences. Current runtime registration-to-mail proof needed; scope privacy decision/readback not established in this audit. Please link the current delivery PR or remaining blocker and record the next owned step to get the complete scope into Dev.
Storypapst commented on Sep 14, 2026 CollaboratorAuthor More actions Verified 15 September 2026 against ORISO-UserService origin/dev @ 3342b2eb — this sender exists.
WelcomeEmailService renders the willkommen occasion with the tone taken from user.getLanguageCode() and dispatches through OrisoEmailDispatcher — the only user of the shared dispatcher on dev. It is called @Async from CreateUserFacade after account creation, with SMTP from the per-tenant SystemNotificationEmailSettingsService.
So this is no longer a feature request. What is unproven is delivery, not existence: Delivered in code, but no live receipt exists: none of the 16 dev test accounts exposes a readable mailbox through the Test Access Hub. Proposal: QA internal Dev rather than QA external Dev, whose entry criteria require an evidence comment naming the delivering merged PR. See #828. Storypapst commented on Sep 22, 2026 CollaboratorAuthor More actions Delivered on dev, not yet verified by receiving a real mail.
This is no longer a feature request: a sender exists. After a successful registration, the person gets a welcome mail with their generated user name, in their language. It is skipped when there is no real address to send to.
Evidence (ORISO-UserService dev @ 26fa52f1, re-checked 23 Sep 2026)
WelcomeEmailService.java:76 renders willkommen; the tone comes from the user's language code.
- Called asynchronously from
CreateUserFacade.java:177, after registration is complete, so a failed mail cannot undo a registration.
- Skips anonymous dummy addresses (
:85) and tenants without SMTP settings (:66).
Still open
- Proof of arrival: a real registration on Dev with a readable mailbox.
- The 375px / 320px checks from the test plan.
MetadataMetadataStatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|