From 60414cfda442008d823cb44bb5a47bf19b89aeec Mon Sep 17 00:00:00 2001 From: Adam Masiarek Date: Sat, 15 Aug 2026 14:07:58 -0400 Subject: [PATCH] feat(emails): tell admins what to do when an email doesn't arrive #1270 asks for a line above the Send button giving admins the first two steps when voters report missing emails, so the answer is on screen at the moment they need it rather than in a support thread. Uses the copy from the issue verbatim, in en.yaml as emails.delivery_note rather than hardcoded in the component. Not done here: the issue also floats expanding this into a helper that explains the individual email error messages from #713 and linking to it. That needs those messages catalogued first, and is a bigger change than a note above a button. --- .../frontend/src/components/Election/Admin/SendEmailDialog.tsx | 3 +++ packages/frontend/src/i18n/en.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx b/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx index 04384385d..1d5295e06 100644 --- a/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx +++ b/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx @@ -172,6 +172,9 @@ const SendEmailDialog = ({open, onClose, onSubmit, targetedEmail=undefined, elec }}> {warning} } + + {t('emails.delivery_note')} + This election is already closed on {{datetime, datetime}} and voters will not be able to cast ballots. + delivery_note: > + Not seeing emails in your inbox? First make sure to check spam. If that doesn't work, + please use the feedback widget in the corner and a team member will work with you promptly. invite: subject: Invitation to vote in {{title}} body: |