.Updated the markScheduleEmailReminder as sent function is re-done to correct check.