Skip to content

Email mirror & quiet hours

SUPERINTENDENT

How email mirror works

When a messenger thread is created or replied to outside quiet hours:

  1. The Worker resolves the recipient list to email addresses (resolveRecipientEmails)
  2. Posts to Postmark Send Email API in batches of 50
  3. From: [email protected] (SPF + DKIM + Return-Path verified)
  4. Subject: [RAPAX PMS] <thread subject>
  5. The Tag header carries the thread ID, enabling reply-to-thread on inbound

Quiet hours

23:00–08:00 Europe/Sofia. During quiet hours:

  • Messages are still posted to the in-app thread (not blocked)
  • Email mirror is suppressed — the message is logged with quiet_hours_skipped: true
  • The morning digest at 08:00 sweeps the queue and dispatches a single combined email per recipient

Sandbox

If your Postmark token is in sandbox mode, the Worker accepts the 412 ACK without retrying. Useful for staging environments; production token is unsandboxed.

Reply via email

Reply to the mirrored email. The Tag header round-trips back to the Worker's inbound webhook (when configured); the Worker appends to the original thread.

RAPAX PMS Help · v2.31.0.26 · released 2026-04-28