"""Mock emails — Tata Steel scenario, Feb 10 – Mar 20 2026.

Storylines:
  A) Coking coal supply delay (procurement → ops → executive escalation)
  B) Die casting line #2 downtime (ops → maintenance → vendor)
  C) Iron ore fill rate drop (analyst signal → manager → VP)
  D) Safety incident — Hot Strip Mill crane (safety → all-ops → VP)
  E) Enterprise Brain project updates (Divami → Naveen, Vijay)
  F) Vendor price renegotiation Q2 (JSW → Rajesh → Naveen)
  G) Q2 capacity planning (Naveen → Vijay)
  H) Client satisfaction escalation (Vijay → Naveen)
"""

EMAILS = [
    # ── Storyline A: Coking coal delay ──────────────────────────────────────
    {
        "id": "msg-001",
        "from": "bhp.logistics@bhp.com",
        "to": "rajesh.kumar@tatasteel.com",
        "subject": "PO #TS-4521 — Port Congestion Notice, Hay Point",
        "date": "2026-02-10",
        "summary": "BHP: PO #TS-4521 (45,000 MT coal) delayed 10–14 days due to Hay Point port congestion. New ETA Paradip: Mar 12–14.",
        "body": (
            "Dear Rajesh,\n\n"
            "This is to inform you that vessel MV Southern Cross carrying your coking coal order "
            "(PO #TS-4521, 45,000 MT) is currently held at Hay Point terminal due to port congestion. "
            "Estimated delay: 10–14 days. New ETA at Paradip: March 12–14.\n\n"
            "We apologise for the inconvenience and will keep you updated daily.\n\n"
            "Regards,\nBHP Logistics"
        ),
        "project": "bf3-coal-supply",
        "labels": ["procurement", "delays", "raw-materials", "vendor"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com"],
    },
    {
        "id": "msg-002",
        "from": "rajesh.kumar@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "cc": "naveen.p@tatasteel.com",
        "subject": "Coking Coal Delay — BF#3 Feed Risk (PO #TS-4521)",
        "date": "2026-02-11",
        "summary": "Rajesh to Vijay+Naveen: BHP coal shipment delayed 12 days (ETA Mar 12–14), BF#3 feed at risk. Asks: update schedule, check NMDC spot, assess Q1 output impact.",
        "body": (
            "Hi Vijay,\n\n"
            "FYI — BHP has notified us that the coking coal shipment (PO #TS-4521) is delayed 12 days. "
            "New ETA March 12–14. This puts Blast Furnace #3 feed at risk if we don't act.\n\n"
            "Immediate asks:\n"
            "1. Review BF#3 feed schedule and flag any shortfall window.\n"
            "2. Check if we can source 5,000 MT spot from NMDC as a bridge.\n"
            "3. Loop in production planning to adjust the schedule.\n\n"
            "Copying Naveen for visibility.\n\n"
            "Rajesh"
        ),
        "project": "bf3-coal-supply",
        "labels": ["procurement", "delays", "blast-furnace", "escalation"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com", "vijay.kamineni@tatasteel.com", "naveen.p@tatasteel.com"],
    },
    {
        "id": "msg-003",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "production.planning@tatasteel.com",
        "cc": "rajesh.kumar@tatasteel.com",
        "subject": "Action Required — BF#3 Feed Schedule Update",
        "date": "2026-02-12",
        "summary": "Vijay to planning team: update BF#3 schedule to reflect Mar 12 coal ETA. Assess if 70% capacity on reserves is feasible through Mar 10. Response needed EOD.",
        "body": (
            "Team,\n\n"
            "Coking coal supply for BF#3 is delayed to ~March 12. Please update the production planning "
            "system immediately. Current schedule still shows the original Feb 28 feed date — this is "
            "now incorrect and a risk.\n\n"
            "Also assess: can we run BF#3 at reduced capacity (70%) on existing reserves through March 10?\n\n"
            "Need a response by EOD.\n\nVijay"
        ),
        "project": "bf3-coal-supply",
        "labels": ["operations", "blast-furnace", "production-planning"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com", "rajesh.kumar@tatasteel.com"],
    },
    {
        "id": "msg-004",
        "from": "naveen.p@tatasteel.com",
        "to": "rajesh.kumar@tatasteel.com",
        "subject": "Re: Coking Coal Delay — BF#3 Feed Risk",
        "date": "2026-02-13",
        "summary": "Naveen to Rajesh: 12-day coal delay unacceptable without contingency. Demands BHP written confirmation, spot pricing from NMDC/Coal India, Q1 output impact — 48hr deadline or escalate to Chairman.",
        "body": (
            "Rajesh,\n\n"
            "Noted. A 12-day delay on a 45,000 MT order is not acceptable without a contingency plan. "
            "Please get me:\n"
            "1. Written confirmation from BHP on the revised ETA.\n"
            "2. Spot sourcing options with pricing — NMDC or Coal India.\n"
            "3. Impact on Q1 steel output if we can't bridge the gap.\n\n"
            "I want this resolved within 48 hours or escalated to the Chairman's office.\n\nNaveen"
        ),
        "project": "bf3-coal-supply",
        "labels": ["procurement", "escalation", "executive"],
        "recipients_visible_to": ["naveen.p@tatasteel.com", "rajesh.kumar@tatasteel.com"],
    },

    # ── Storyline B: Die casting downtime ───────────────────────────────────
    {
        "id": "msg-005",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "ops-team@tatasteel.com",
        "cc": "manisha.g@tatasteel.com",
        "subject": "Die Casting Line #2 — Unplanned Downtime (03:15 AM)",
        "date": "2026-02-14",
        "summary": "Line #2 down at 03:15 AM — hydraulic pump failure. 48hr repair estimate, ~15% throughput loss. Rerouting to Lines #1/#4. Manisha to track ops log; Bosch Rexroth contacted.",
        "body": (
            "Team,\n\n"
            "Die casting line #2 went down at 03:15 AM — hydraulic pump failure. "
            "Maintenance estimates a 48-hour repair window. "
            "We're rerouting to Line #1 and #4 but expect ~15% throughput loss this week.\n\n"
            "Manisha — please track the throughput delta in the daily ops log and flag if it exceeds 18%.\n"
            "Bosch Rexroth contacted for emergency pump supply.\n\nVijay"
        ),
        "project": "die-casting-maintenance",
        "labels": ["operations", "downtime", "maintenance", "die-casting"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com", "manisha.g@tatasteel.com"],
    },
    {
        "id": "msg-006",
        "from": "manisha.g@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Die Casting Throughput — Day 1 Tracking",
        "date": "2026-02-15",
        "summary": "Day 1: Line #1 at 110%, Line #4 at 98%, net loss 16.2% — within 18% threshold. Bosch Rexroth quote still pending.",
        "body": (
            "Vijay,\n\n"
            "Day 1 post-downtime numbers:\n"
            "- Line #1: running at 110% (surge load)\n"
            "- Line #4: running at 98%\n"
            "- Net throughput loss: 16.2% vs baseline\n\n"
            "Within the 18% threshold for now. Will monitor again at 18:00. "
            "Bosch Rexroth quote for pump still awaited — Rajesh is following up.\n\nManisha"
        ),
        "project": "die-casting-maintenance",
        "labels": ["operations", "downtime", "monitoring"],
        "recipients_visible_to": ["manisha.g@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },
    {
        "id": "msg-007",
        "from": "bosch.rexroth.supply@bosch.com",
        "to": "rajesh.kumar@tatasteel.com",
        "subject": "Emergency Quote — Hydraulic Pump A10V045 (Die Casting)",
        "date": "2026-02-17",
        "summary": "Bosch Rexroth: pump A10V045 at ₹3,42,000, 5 business days (air freight). PO required within 24hrs to hold slot.",
        "body": (
            "Dear Rajesh,\n\n"
            "Emergency supply quote for 1x Hydraulic Pump A10V045:\n"
            "- Unit price: ₹3,42,000\n"
            "- Delivery: 5 business days (air freight from Germany)\n"
            "- Warranty: 12 months\n\n"
            "PO required within 24 hours to hold the slot.\n\n"
            "Regards,\nBosch Rexroth Supply"
        ),
        "project": "die-casting-maintenance",
        "labels": ["procurement", "vendor-quotes", "maintenance"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com"],
    },
    {
        "id": "msg-008",
        "from": "rajesh.kumar@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Re: Hydraulic Pump — Quote Received, PO Approval Needed",
        "date": "2026-02-17",
        "summary": "Rajesh to Vijay: Bosch quote received (₹3,42,000, 5 days). PO approval needed today — 24hr window.",
        "body": (
            "Vijay,\n\n"
            "Bosch Rexroth quote in: ₹3,42,000, delivery 5 business days (air freight). "
            "I need your approval to raise the PO today — the slot holds only 24 hours.\n\n"
            "Rajesh"
        ),
        "project": "die-casting-maintenance",
        "labels": ["procurement", "approvals", "maintenance"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },

    # ── Storyline C: Iron ore fill rate drop ────────────────────────────────
    {
        "id": "msg-009",
        "from": "ops-monitoring@tatasteel.com",
        "to": "manisha.g@tatasteel.com",
        "subject": "[ALERT] Iron Ore Fill Rate Drop — Jamshedpur Plant",
        "date": "2026-02-21",
        "summary": "Auto-alert: iron ore fill rate at Jamshedpur dropped 2.3% (91.7% vs 94% baseline). Suspected causes: screening vibration anomaly (J-047) or moisture spike. Investigate.",
        "body": (
            "Automated alert:\n\n"
            "Iron ore fill rate at Jamshedpur has dropped 2.3% over the past 72 hours. "
            "Current rate: 91.7% (baseline: 94.0%).\n\n"
            "Possible causes flagged by monitoring system:\n"
            "- Screening equipment vibration anomaly (Sensor J-047)\n"
            "- Moisture content spike in incoming ore batch\n\n"
            "Please investigate and log findings in ops system.\n"
            "— Automated Monitoring System"
        ),
        "project": "iron-ore-ops",
        "labels": ["operations", "iron-ore", "fill-rate", "alert", "jamshedpur"],
        "recipients_visible_to": ["manisha.g@tatasteel.com"],
    },
    {
        "id": "msg-010",
        "from": "manisha.g@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Iron Ore Fill Rate — Root Cause Identified",
        "date": "2026-02-23",
        "summary": "Root cause: worn mesh on screening deck #3, unit J-047 (40% apertures blocked). Fix: replace at Feb 25 maintenance window. Rate stable at 91.8% until then.",
        "body": (
            "Vijay,\n\n"
            "Investigated the fill rate drop. Root cause: Screening deck #3 on unit J-047 "
            "has a worn mesh — approx 40% of apertures are blocked. "
            "Replacing the mesh will restore full throughput.\n\n"
            "Estimated repair: 6 hours, next planned maintenance window (Feb 25).\n"
            "Fill rate is stable at 91.8% in the meantime — no further decline observed.\n\nManisha"
        ),
        "project": "iron-ore-ops",
        "labels": ["operations", "iron-ore", "fill-rate", "root-cause"],
        "recipients_visible_to": ["manisha.g@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },
    {
        "id": "msg-011",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "naveen.p@tatasteel.com",
        "subject": "Iron Ore Fill Rate — Resolved (Root Cause + Action Taken)",
        "date": "2026-02-25",
        "summary": "Vijay to Naveen: iron ore fill rate issue resolved. Worn mesh on J-047 replaced Feb 25. Rate back to 94.1%. No output impact.",
        "body": (
            "Naveen,\n\n"
            "The iron ore fill rate issue at Jamshedpur is resolved. "
            "Root cause: worn screening mesh on unit J-047. Replaced during the Feb 25 maintenance window. "
            "Fill rate back to 94.1% as of 14:00 today.\n\n"
            "No output impact — we caught it early via monitoring.\n\nVijay"
        ),
        "project": "iron-ore-ops",
        "labels": ["operations", "iron-ore", "resolved", "executive"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com", "naveen.p@tatasteel.com"],
    },

    # ── Storyline D: Safety incident ────────────────────────────────────────
    {
        "id": "msg-012",
        "from": "safety@tatasteel.com",
        "to": "all-ops@tatasteel.com",
        "subject": "INCIDENT REPORT #SR-2026-0089 — Hot Strip Mill Crane",
        "date": "2026-03-05",
        "summary": "Near-miss at Hot Strip Mill: frayed overhead crane cable found at pre-shift inspection. 4hr halt, cable replaced, no injuries. RCA initiated; daily crane inspections mandatory.",
        "body": (
            "INCIDENT REPORT #SR-2026-0089\n\n"
            "Location: Hot Strip Mill, Jamshedpur\n"
            "Time: 2026-03-05 06:20 AM\n"
            "Type: Near-miss\n"
            "Description: Overhead crane cable showed fraying during pre-shift inspection. "
            "Operations halted 4 hours for emergency cable replacement. No injuries.\n\n"
            "Root cause analysis initiated. Interim: daily crane cable inspections mandatory "
            "until full audit complete.\n\n"
            "— Safety Division"
        ),
        "project": "safety-compliance",
        "labels": ["safety", "incident", "near-miss", "jamshedpur", "hot-strip-mill"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com", "manisha.g@tatasteel.com", "naveen.p@tatasteel.com"],
    },
    {
        "id": "msg-013",
        "from": "naveen.p@tatasteel.com",
        "to": "safety@tatasteel.com",
        "cc": "vijay.kamineni@tatasteel.com",
        "subject": "Re: Incident #SR-2026-0089 — Escalation to Board Safety Committee",
        "date": "2026-03-06",
        "summary": "Naveen escalating SR-2026-0089 to Board Safety Committee (Mar 10). Demands by Mar 9: full RCA, crane inspection confirmation at both plants, 12-month PM calendar.",
        "body": (
            "Team,\n\n"
            "Any near-miss involving overhead equipment at a live mill is a board-level matter. "
            "I want the following by March 9:\n"
            "1. Full RCA report with contributing factors.\n"
            "2. Confirmation that all cranes at Jamshedpur and Kalinganagar have been inspected.\n"
            "3. A preventive maintenance calendar for the next 12 months.\n\n"
            "This goes to the Safety Committee on March 10.\n\nNaveen"
        ),
        "project": "safety-compliance",
        "labels": ["safety", "escalation", "executive", "rca"],
        "recipients_visible_to": ["naveen.p@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },

    # ── Storyline E: Enterprise Brain project ───────────────────────────────
    {
        "id": "msg-014",
        "from": "prathima.inolu@divami.com",
        "to": "naveen.p@tatasteel.com",
        "cc": "vijay.kamineni@tatasteel.com",
        "subject": "Enterprise Brain — Sprint 3 Status Update",
        "date": "2026-03-03",
        "summary": "Divami Sprint 3: Gmail/Jira agents live in staging, Chanakya end-to-end working. Oracle Unifier blocked on IT credentials. Dashboard in frontend. Next: RT agent. Demo proposed Mar 20.",
        "body": (
            "Hi Naveen,\n\n"
            "Sprint 3 progress:\n"
            "- Gmail & Jira data agents: live in staging\n"
            "- Core agent (Chanakya): query + synthesis working end-to-end\n"
            "- Oracle Unifier connector: blocked on staging credentials (follow-up sent)\n"
            "- Dynamic dashboard: wireframes approved, frontend starting this week\n\n"
            "Next sprint focus: RT agent (real-time intelligence) + alert lifecycle.\n\n"
            "Please confirm: can we schedule a demo for March 20?\n\nPrathima"
        ),
        "project": "enterprise-brain",
        "labels": ["project", "enterprise-brain", "status", "divami"],
        "recipients_visible_to": ["naveen.p@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },
    {
        "id": "msg-015",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "prathima.inolu@divami.com",
        "subject": "Re: Enterprise Brain — Oracle Unifier Credentials",
        "date": "2026-03-04",
        "summary": "Vijay: IT ticket IT-2890 raised for Oracle Unifier access (5 business days). Mar 20 demo confirmed; finance team will attend.",
        "body": (
            "Prathima,\n\n"
            "I've raised the Oracle Unifier staging access with our IT team. "
            "Ticket: IT-2890. Expected resolution: 5 business days.\n\n"
            "March 20 demo confirmed from our side. "
            "I'll also loop in the finance team — they're the primary users for Unifier data.\n\nVijay"
        ),
        "project": "enterprise-brain",
        "labels": ["project", "enterprise-brain", "oracle-unifier", "it"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com"],
    },

    # ── Storyline F: Vendor price renegotiation ─────────────────────────────
    {
        "id": "msg-016",
        "from": "supply.chain@jsw.in",
        "to": "rajesh.kumar@tatasteel.com",
        "subject": "Q2 2026 Iron Ore Pellets — Revised Quote",
        "date": "2026-03-04",
        "summary": "JSW Q2 quote: Grade A pellets +7% (₹8,450/ton), Grade B +5.9% (₹7,200/ton). Quote valid until Mar 15.",
        "body": (
            "Dear Rajesh,\n\n"
            "Q2 2026 revised quote for iron ore pellets:\n"
            "- Grade A (Fe 65%+): ₹8,450/ton (prev ₹7,900 +7%)\n"
            "- Grade B (Fe 62%+): ₹7,200/ton (prev ₹6,800 +5.9%)\n"
            "- MOQ: 5,000 tons/month | Net 45\n\n"
            "Increase driven by global iron ore index. "
            "Quote valid until March 15.\n\nJSW Supply Chain"
        ),
        "project": "iron-ore-ops",
        "labels": ["procurement", "vendor-quotes", "raw-materials", "iron-ore"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com"],
    },
    {
        "id": "msg-017",
        "from": "rajesh.kumar@tatasteel.com",
        "to": "naveen.p@tatasteel.com",
        "subject": "JSW Quote — 7% Price Hike on Iron Ore Pellets Q2",
        "date": "2026-03-05",
        "summary": "Rajesh to Naveen: JSW +7% on Grade A pellets = +₹82.5L/month at contracted volume. Recommends counter-offer at 3% + parallel NMDC dual-source evaluation.",
        "body": (
            "Naveen,\n\n"
            "JSW has come back with a 7% hike on Grade A pellets for Q2 — ₹8,450 vs ₹7,900 last quarter. "
            "At our contracted volume (15,000 MT/month), that's an additional ₹82.5L/month.\n\n"
            "Options:\n"
            "1. Accept — maintain supply continuity.\n"
            "2. Counter-offer at 3% — test their flexibility before index review date (Mar 20).\n"
            "3. Dual-source: bring in NMDC at current rate to reduce JSW dependency.\n\n"
            "I recommend Option 2 + begin NMDC evaluation in parallel. Your call.\n\nRajesh"
        ),
        "project": "iron-ore-ops",
        "labels": ["procurement", "escalation", "executive", "cost"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com", "naveen.p@tatasteel.com"],
    },

    # ── Storyline G: Q2 capacity planning ───────────────────────────────────
    {
        "id": "msg-018",
        "from": "naveen.p@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "cc": "rajesh.kumar@tatasteel.com",
        "subject": "Q2 Capacity Plan — Inputs Required by March 14",
        "date": "2026-03-08",
        "summary": "Naveen to Vijay+Rajesh: Q2 board review Mar 17. Need by Mar 14: output projections by product line, maintenance windows, headcount gaps, risks >5% output impact.",
        "body": (
            "Vijay,\n\n"
            "Board reviews Q2 capacity plan on March 17. I need your inputs by March 14:\n"
            "1. Projected output by product line (HRC, CRC, long products)\n"
            "2. Planned maintenance windows and estimated downtime impact\n"
            "3. Headcount gaps — any open positions that will affect throughput\n"
            "4. Risks: flag anything with >5% output impact\n\n"
            "Rajesh — please include raw material availability assumptions for the same period.\n\nNaveen"
        ),
        "project": "q2-capacity-planning",
        "labels": ["planning", "q2", "executive", "capacity"],
        "recipients_visible_to": ["naveen.p@tatasteel.com", "vijay.kamineni@tatasteel.com", "rajesh.kumar@tatasteel.com"],
    },
    {
        "id": "msg-019",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "naveen.p@tatasteel.com",
        "subject": "Re: Q2 Capacity Plan — Draft Inputs",
        "date": "2026-03-13",
        "summary": "Vijay Q2 inputs: HRC 98%, CRC 94%, long products 100%. Key risk: BF#3 at 85% until Mar 18 (→ -3% HRC if coal late). 2 open operator roles in Jamshedpur — fill by Apr 15.",
        "body": (
            "Naveen,\n\n"
            "Q2 capacity inputs:\n"
            "- HRC: 98% utilisation projected (2 planned maintenance days)\n"
            "- CRC: 94% — Die Casting Line #2 back to full capacity by Apr 1\n"
            "- Long products: 100% — no issues\n\n"
            "Key risk: BF#3 remains at 85% until coking coal backlog clears (est. Mar 18). "
            "If coal doesn't arrive by Mar 18, Q2 HRC output drops ~3%.\n\n"
            "Two open senior operator roles in Jamshedpur — won't affect output if filled by Apr 15.\n\nVijay"
        ),
        "project": "q2-capacity-planning",
        "labels": ["planning", "q2", "operations", "capacity"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com", "naveen.p@tatasteel.com"],
    },

    # ── Storyline H: Client satisfaction escalation ──────────────────────────
    {
        "id": "msg-020",
        "from": "client.relations@tatasteelprocessing.com",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Client Complaint — Delayed HRC Delivery to Maruti Suzuki",
        "date": "2026-03-10",
        "summary": "Maruti Suzuki formal complaint: Order #MS-7821 delivered Mar 7 vs Feb 28 (7-day delay). Requesting ₹12L credit note + SLA assurance. Tier-1 account — Vijay to advise.",
        "body": (
            "Vijay,\n\n"
            "Maruti Suzuki has formally complained about the delayed delivery of HRC coils "
            "(Order #MS-7821, due Feb 28, delivered Mar 7 — 7-day delay). "
            "Their procurement head is requesting a credit note for ₹12L and assurance "
            "on future delivery commitments.\n\n"
            "Please advise how to respond. This is a Tier-1 account.\n\n"
            "— Client Relations"
        ),
        "project": "client-delivery",
        "labels": ["client", "escalation", "delivery", "maruti"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com"],
    },
    {
        "id": "msg-021",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "naveen.p@tatasteel.com",
        "subject": "Maruti Suzuki Escalation — Credit Note Request ₹12L",
        "date": "2026-03-11",
        "summary": "Vijay to Naveen: Maruti requesting ₹12L credit (₹240Cr/yr account). Cause: BF#3 at 85% during coal gap. Recommends approving credit + SLA commitment letter. Needs decision by Mar 13.",
        "body": (
            "Naveen,\n\n"
            "Maruti Suzuki is requesting a ₹12L credit note for the 7-day HRC delivery delay "
            "(Order #MS-7821). The delay was caused by BF#3 reduced output during the coal supply gap.\n\n"
            "My recommendation: approve the credit note — this is a ₹240Cr/year account. "
            "I'll also send their procurement head a written commitment on lead time SLAs going forward.\n\n"
            "Please confirm so I can respond by March 13.\n\nVijay"
        ),
        "project": "client-delivery",
        "labels": ["client", "escalation", "executive", "maruti", "credit"],
        "recipients_visible_to": ["vijay.kamineni@tatasteel.com", "naveen.p@tatasteel.com"],
    },
    {
        "id": "msg-022",
        "from": "naveen.p@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Re: Maruti Suzuki — Approved",
        "date": "2026-03-12",
        "summary": "Naveen approved ₹12L credit note. Issue credit + SLA letter, copy Naveen. BF#3 contingency plan required — this must not recur.",
        "body": (
            "Vijay,\n\nApproved. Issue the credit note and send them the SLA commitment letter. "
            "Copy me on the final response to their procurement head.\n\n"
            "This should not happen again — BF#3 supply risk needs a standing contingency plan.\n\nNaveen"
        ),
        "project": "client-delivery",
        "labels": ["client", "executive", "approvals"],
        "recipients_visible_to": ["naveen.p@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },

    # ── Late-period signals (Mar 15–20) ──────────────────────────────────────
    {
        "id": "msg-023",
        "from": "manisha.g@tatasteel.com",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Weekly Ops Summary — Week of Mar 15",
        "date": "2026-03-15",
        "summary": "Week Mar 15: Line #2 fully restored, iron ore 94.2% stable, BF#3 at 85% (coal ETA Mar 18 on track), no safety incidents. 3 tickets beyond SLA (TS-108, TS-110, TS-112). Overall green except BF#3.",
        "body": (
            "Vijay,\n\n"
            "Week of Mar 15 summary:\n"
            "- Die Casting Line #2: fully restored as of Mar 14\n"
            "- Iron ore fill rate: 94.2% (stable)\n"
            "- BF#3: 85% capacity, coal ETA Mar 18 on track\n"
            "- No new safety incidents\n"
            "- 3 open Jira tickets in 'In Progress' state beyond SLA (TS-108, TS-110, TS-112)\n\n"
            "Overall: green except BF#3 coal dependency.\n\nManisha"
        ),
        "project": "q2-capacity-planning",
        "labels": ["operations", "weekly-summary", "monitoring"],
        "recipients_visible_to": ["manisha.g@tatasteel.com", "vijay.kamineni@tatasteel.com"],
    },
    {
        "id": "msg-024",
        "from": "rajesh.kumar@tatasteel.com",
        "to": "naveen.p@tatasteel.com",
        "subject": "Coal Arrived — BF#3 Back to Full Capacity",
        "date": "2026-03-19",
        "summary": "Rajesh to Naveen: MV Southern Cross docked Paradip Mar 18, unloading complete. BF#3 at 100% as of Mar 19. Q2 targets on track.",
        "body": (
            "Naveen,\n\n"
            "MV Southern Cross docked at Paradip on Mar 18. Coal unloading complete. "
            "BF#3 back to 100% capacity as of this morning.\n\n"
            "Q2 production targets are on track.\n\nRajesh"
        ),
        "project": "bf3-coal-supply",
        "labels": ["procurement", "raw-materials", "resolved", "executive"],
        "recipients_visible_to": ["rajesh.kumar@tatasteel.com", "naveen.p@tatasteel.com"],
    },
]
