A new Footer setting, shown under the message (after a rule, small and grey in
the HTML version): "You're getting this email because you have an appointment
with us. Rather not get reminders? Just reply and let us know." Settings saved
before it existed get the default; blank turns it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
Reminders for redmine_qbo_calendar appointments, to the customer's email in
QuickBooks, sent from your own mailbox through Google Workspace's SMTP relay
(or Gmail SMTP with an app password, or Redmine's email settings).
- Schedule: N days before at a set time, only within sending hours, not within
N hours of the appointment; rescheduling sends one for the new time
- Plain text + HTML from an editable template with placeholders and sections,
calendar (.ics) attachment, Message-ID on the sending domain
- Each reminder claimed in the database before sending (no duplicates across
processes); failures retried 3 times
- Appointment page: status and Send now / Send again; customer page: turn
reminders off; settings: test email, recent reminders, send due now
- Runs on page loads every 10 minutes, or from cron via
rake redmine:appointment_reminders:send
- README covers Google Workspace setup and SPF/DKIM/DMARC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM