2 Commits
Author SHA1 Message Date
rootandClaude Sonnet 5 bbdf684a6a Add inactivity reminder emails
No app/Notifications existed beyond Laravel's stock email verification
and password reset - nothing brought lapsed users back. Adds a queued
InactivityReminder mail notification and a scheduled command
(app:send-inactivity-reminders, daily at 09:00) that emails verified
users with no completed workout session in the last 5 days, at most
once per 7-day cooldown so it can't spam. Skips brand-new signups so it
doesn't nag someone who registered an hour ago.

Verified the full pipeline live: scheduled command queues the
notification (QUEUE_CONNECTION=database), a queue worker processes it,
and the rendered email lands in the log driver with a working link back
to /workouts.

Production still needs cron actually invoking `php artisan schedule:run`
every minute and a running queue worker - that's part of the pending
deployment setup, not something this change can provide on its own.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-10 12:32:17 +03:00
root 5d8d08d2f4 first commit 2025-10-02 22:52:13 +03:00