Issue 287
enhancement: Hold the owner's contact-message email until the sender confirms
Back to our planDone
enhancementcmspriority: medium
Problem
The owner decided on 2026-10-23 (recorded on #274) that a contact message reaches him only after the sender confirms their email. Today the form builder's owner notification goes out at submission, marked "not confirmed yet".
Proposed fix (native first, #262)
- Native / plugin: use the form builder plugin's own email step. Check its 3.91 source for the cleanest hook point: the existing
beforeEmailhook (guardFormEmails) can drop the owner email for an unconfirmed sender, and the confirmation listener (markSubmissionsConfirmed, from #258) can send the held notification through the plugin's own email builder (orpayload.sendEmailwith the same template) when the link is clicked. - No new collection: the submission is already saved with
senderEmailandemailConfirmed(#258). - Record findings per step on this issue before any custom code.
Acceptance criteria
- Not done: A message from an unconfirmed sender sends no owner email at submission; it's saved and visible in the admin, marked not confirmed
- Not done: Clicking the confirmation link sends the held owner email once (with "Sender's email: confirmed."), for every held message from that address
- Not done: A message from an already-confirmed sender reaches the owner right away
- Not done: Re-opening the link sends nothing again; tests cover each case
- Not done: #183 and
docs/architecture/data-model.mddescribe the new behavior
Area
cms
Priority
Medium
Generated by Claude Code, opens in a new tab