"""Mock Gmail data — Tata Steel supply chain scenario."""

EMAILS = [
    {
        "id": "msg-001",
        "from": "rajesh.kumar@tatasteel.com",
        "to": "procurement@tatasteel.com",
        "subject": "Delayed Shipment — Coking Coal from Australia",
        "date": "2026-02-28",
        "body": (
            "Hi Team,\n\n"
            "The coking coal shipment from BHP (PO #TS-4521) is delayed by 12 days "
            "due to port congestion at Hay Point. New ETA is March 12. "
            "This will impact Blast Furnace #3 feed schedule. "
            "Please coordinate with production planning.\n\n"
            "Regards,\nRajesh Kumar\nProcurement Lead"
        ),
        "labels": ["procurement", "delays", "raw-materials"],
    },
    {
        "id": "msg-002",
        "from": "vijay.kamineni@tatasteel.com",
        "to": "ops-team@tatasteel.com",
        "subject": "Die Casting Line #2 — Unplanned Downtime",
        "date": "2026-03-01",
        "body": (
            "Team,\n\n"
            "Die casting line #2 went down at 03:15 AM due to hydraulic pump failure. "
            "Maintenance estimates 48-hour repair window. "
            "We're rerouting orders to Line #1 and #4 but expect 15% throughput loss. "
            "Vendor for replacement pump (Bosch Rexroth) has been contacted.\n\n"
            "— Vijay"
        ),
        "labels": ["operations", "downtime", "maintenance"],
    },
    {
        "id": "msg-003",
        "from": "prathima.inolu@divami.com",
        "to": "naveen.p@tatasteel.com",
        "subject": "Enterprise Brain V2 — Sprint 1 Status Update",
        "date": "2026-03-03",
        "body": (
            "Hi Naveen,\n\n"
            "Quick update on Sprint 1 progress:\n"
            "- Data agents for Salesforce and Gmail: 70% complete\n"
            "- Core agent (Chanakya) architecture: finalized\n"
            "- UX wireframes for dynamic dashboard: under review\n"
            "- Jira integration: starting next week\n\n"
            "Blocker: We need access credentials for Oracle Unifier staging environment.\n\n"
            "Best,\nPrathima"
        ),
        "labels": ["project", "enterprise-brain", "status"],
    },
    {
        "id": "msg-004",
        "from": "supply.chain@jsw.in",
        "to": "vijay.kamineni@tatasteel.com",
        "subject": "Re: Vendor Quote — Iron Ore Pellets Q2 2026",
        "date": "2026-03-04",
        "body": (
            "Dear Vijay,\n\n"
            "Please find our revised quote for Q2 2026 iron ore pellets:\n"
            "- Grade A (Fe 65%+): ₹8,450/ton (prev ₹7,900/ton, +7%)\n"
            "- Grade B (Fe 62%+): ₹7,200/ton (prev ₹6,800/ton, +5.9%)\n"
            "- MOQ: 5,000 tons/month\n"
            "- Payment terms: Net 45\n\n"
            "Price increase driven by global iron ore index movement.\n\n"
            "Regards,\nJSW Supply Chain"
        ),
        "labels": ["procurement", "vendor-quotes", "raw-materials"],
    },
    {
        "id": "msg-005",
        "from": "safety@tatasteel.com",
        "to": "all-ops@tatasteel.com",
        "subject": "Safety Incident Report — Jamshedpur Plant",
        "date": "2026-03-05",
        "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 for 4 hours for emergency cable replacement. "
            "No injuries reported. Root cause analysis initiated.\n\n"
            "— Safety Division"
        ),
        "labels": ["safety", "incident", "jamshedpur"],
    },
]
