Commit Graph
3 Commits
Author SHA1 Message Date
Claude 1c955c7923 Footer: why the customer got the reminder and how to stop
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
2026-11-01 07:23:33 -05:00
Claude e363602bea Send reminders even when Redmine's email delivery is off
Redmine sets perform_deliveries = false for every mailer when it has no email
settings of its own, so reminders were skipped (and recorded as sent) without
ever reaching the SMTP server. Messages sent through the plugin's own SMTP
server now always go out; with Redmine's email settings, a reminder fails with
a clear error instead of being dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-11-01 07:11:03 -05:00
Claude 7c09b58708 New plugin: email customers appointment reminders
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
2026-10-31 22:30:12 -04:00