@extends('setting.nav') @section('title', 'Follow-up Settings') @section('content')
No extra AI call is made for this feature. Every mail already goes through one classification prompt that returns a recommended next action, and that recommendation is the detection:
A mail arrives
↓
Recommended next action "send_quotation"
↓
The window for that action 48 hours from when the mail was sent
↓
A task, with a due time and a reminder armed {{ $settings->reminder_lead_hours }}h before it
↓
Closed when somebody ticks it off, or a reply is seen on the conversation
Mail that arrived before next actions existed is still caught, through the reply flag the pipeline has always set — those get the default window. Promotions, provider spam and conversations that have already been replied to are never raised.