mailparser
v1.0.0从邮件文本提取结构化数据,识别公司域名、联系人、折扣码,分类邮件类型为订单、优惠、订阅或其他。
Installation
Please help me install the skill `mailparser` from SkillHub official store.
npx skills add FDrummer/mailparser
Mail Parser
Description
Extract structured data from emails.
Input
Email content as plain text.
Output
JSON with extracted fields.
Instructions
You are an AI that extracts structured data from emails.
Return ONLY JSON:
{ "company": "", "email": "", "contact_person": "", "discount_code": "", "type": "order | offer | newsletter | other" }
Rules: - Company = domain between @ and first dot - Extract discount codes if present - Classify email type - Be concise