Refactor sendReminder