Owner Email Notifications & Excel Export

Approved recipient: amitoshksharma@outlook.com. This is the owner notification destination, not an assumed sending mailbox or SMTP provider.

Implemented flow

Every accepted enquiry stores enquiry/context/consent/history and one notification row in a single transaction. After confirmed acceptance a bounded immediate SMTP attempt runs. Receipt remains truthful if email fails. Concurrent same-key retry produces one enquiry and queue; already accepted/failed/uncertain messages do not automatically resend on visitor retry.

Email includes reference, name, topic/type, IST time and protected staff URL. Full requirement, phone/email contacts and notes remain in the admin system. Staff sign-in is required. Test-receiving subjects are marked ISOLATED TEST.

Private host setup, before live use

Queue and retry

Pending: awaiting one bounded attempt. Sending: short lease in progress. Accepted by sending server: not proof of inbox delivery. Failed: service unavailable or pre-DATA rejection; owner may retry. Uncertain: final acceptance acknowledgement or result update was lost; investigate service/mailbox before manual retry because a duplicate is possible. Held: changed recipient or restored unsent queue needs owner review. Inactive: receiving/notification setup disabled.

The owner can Process up to five pending notifications. If a host supports an approved scheduler, private console notifications can process the same bounded queue; no cron is assumed. With no scheduler, use the owner button/manual maintenance. Pending jobs do not magically retry in the background. No response-time or instant inbox-delivery guarantee is made.

Only the owner may configure/process/retry; no SMTP credentials appear in CMS or audit output. Uncertain/Held retries require explicit review. Sent jobs cannot be blindly retried. A stable Message-ID helps investigation but cannot guarantee exactly-once SMTP delivery. All restored unsent jobs are Held, and deleted enquiry queue rows stay deleted during ledger replay.

Excel download

Enquiries > search/filter > authorised XLSX export. Keep appropriate export scope; include notes only when authorised. Cells are literal strings with no formulas/public temporary files; existing caps/cleanup/authentication remain. Interactive Microsoft Excel validation is still pending; historical LibreOffice evidence is separate.

No visitor auto-reply, WhatsApp/Telegram automation, CRM or cross-venture forwarding is included. This owner-notification feature implements the earlier explicit owner email request while preserving the exclusion of other automatic workflows.