graph TD
A[Start: Urgency_Engine_Agent] --> B[Load Input Files]
B --> C1[Parse Email Log]
B --> C2[Parse Booking Log]
C1 --> D[Detect Follow-up Targets]
C2 --> D
D --> E1[24h Open No Click]
D --> E2[48h Open No Click]
D --> E3[15min Payment Abandoned]
E1 --> F[Generate Email Content]
E2 --> F
E3 --> F
F --> G1[Reminder 1 Template]
F --> G2[Reminder 2 Template]
F --> G3[Cart Recovery Template]
G1 --> H[Multilingual Translation]
G2 --> H
G3 --> H
H --> I[Send Emails via SMTP]
I --> J[Log Send Results]
J --> K[Format as CSV Rows]
K --> L[Update Master Email Log]
L --> M[End: Updated email_log.csv]
subgraph Silo1[Data Ingest & Analysis]
B
C1
C2
D
E1
E2
E3
end
subgraph Silo2[Content Generation]
F
G1
G2
G3
H
end
subgraph Silo3[Dispatch & Logging]
I
J
K
L
end