Local Customer Email Reply
Use this skill when a user wants an agent to review customer email and draft a response based on a local document path such as /Users/example/support-policy.md.
Required Inputs
EMAIL_PATH: local.txt,.md,.json, or.emlfile containing the inbound customer messagePOLICY_PATH: local.md,.txt, or other text-readable file containing support policy, FAQ, refund rules, or escalation guidance- optional
DRAFT_PATH: local path where the reply draft should be written
Workflow
- Read the inbound email from
EMAIL_PATH. - Read the grounding document from
POLICY_PATH. - Extract customer name, issue, requested outcome, order or account identifiers, urgency, and sentiment.
- Classify the message as one of:
complaintqueryrefund_requestbilling_issuehandoff_required
- Draft a reply grounded only in the local document.
- If the requested action is not supported by the document, do not invent policy. Mark the case
handoff_required. - Return:
summaryclassificationpolicy_evidencereply_subjectreply_bodyneeds_human_review
Guardrails
- Never promise refunds, credits, replacements, or legal outcomes unless the local document explicitly allows them.
- Never expose internal notes or hidden reasoning.
- Keep the reply short, calm, and customer-facing.
- Escalate abusive, safety, chargeback, regulatory, privacy, or deletion cases for human review.
- Treat missing or weak policy evidence as a handoff case.