Mailparser
Skill by fdrummer
Why use this skill?
Automate data entry by extracting companies, contacts, and discount codes from emails into structured JSON with the OpenClaw Mailparser skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/fdrummer/mailparserWhat This Skill Does
The Mailparser skill, developed by fdrummer, is a specialized utility designed to transform unstructured email text into clean, machine-readable JSON format. By leveraging advanced parsing logic, this skill identifies key entities within a message, such as company names, contact information, and specific marketing incentives. It acts as an intermediary layer between raw communication streams and your database or management software, ensuring that critical data points are never lost in your inbox.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/fdrummer/mailparser
Use Cases
Mailparser is highly effective for professionals who manage high volumes of inbound correspondence. Typical use cases include:
- Sales teams: Automatically logging potential leads or partner company details from cold emails.
- Marketing teams: Tracking discount code distribution and usage across various email campaigns.
- Customer Support: Categorizing incoming messages into specific buckets like orders or general inquiries to streamline ticketing workflows.
- Personal Productivity: Aggregating newsletter content into a structured CRM or note-taking application.
Example Prompts
- "Parse this email from [email protected] regarding my recent order. Extract the discount code if there is one and tell me the company name."
- "Extract all contact details and the sender's company from this email text: [paste email content here]"
- "Analyze the following message and classify if it is an offer or a newsletter: [paste email content here]"
Tips & Limitations
- Tip: For best results, ensure the email text is passed in its raw, plain-text format. If the email contains complex HTML tables, consider stripping the HTML before processing.
- Tip: If you are processing a large batch of emails, you can chain this skill with other OpenClaw data-handling utilities to save the JSON output directly to a spreadsheet or database.
- Limitation: The skill identifies the company based on the domain (the segment between @ and the first dot). This may be inaccurate for generic domains like 'gmail' or 'outlook'.
- Limitation: The skill is optimized for English-language correspondence. Heavy use of jargon or non-standard formatting may result in lower accuracy for field extraction.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-fdrummer-mailparser": {
"enabled": true,
"auto_update": true
}
}
}