Xpersona
E

email-summarizer

CLAWHUB · Unverified

Email summary and contact profiling skill. Fetch emails from an IMAP mailbox or parse local exports (.pst / .mbox / .msg), build a contact profile report (HT...

62
Rank
84
Safety
987
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 987 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172xks2svqmm0k5y7by7wpdwd83jydz:email-summarizer
  1. Install using `clawhub skill install s172xks2svqmm0k5y7by7wpdwd83jydz:email-summarizer` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/momothemage/email-summarizer before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-momothemage-email-summarizer/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

75,555 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: email-summarizer
description: Email summary and contact profiling skill. Fetch emails from an IMAP mailbox or parse local exports (.pst / .mbox / .msg), build a contact profile report (HTML + Excel), and optionally send it via email. Trigger when user says "summarize my emails", "check recent emails", "analyze my contacts", "profile email contacts", "parse pst file", "analyze outlook export", "send contact report", etc.

# Runtime dependencies
# Python (pip install -r requirements.txt):
#   extract-msg>=0.52.0   — .msg file parsing
#   openpyxl>=3.1.0       — Excel report generation
#
# Node.js (cd scripts && npm install):
#   pst-extractor>=1.10.0 — native .pst parsing (bundled via package.json)
#
# System tools (optional):
#   readpst               — alternative .pst engine (apt install pst-utils / brew install libpst)
#   node >= 16            — required for native PST parsing

# External process usage (declared for security review):
#
#   parse_file.py invokes TWO local executables via subprocess — no shell=True,
#   no dynamic command construction, no network access:
#
#   1. node scripts/pst_extractor_helper.js <pst_file> [--since] [--until] [--max]
#      Calls the Node.js script bundled in this skill's scripts/ directory.
#      Used only when --pst is passed and engine is 'native' (default).
#      node binary is resolved from NODE_BIN env var or system PATH.
#
#   2. readpst -o <tmp_dir> -M <pst_file>
#      Calls the system-installed readpst binary (from pst-utils package).
#      Used only when --pst-engine readpst is explicitly requested.
#      Both executables accept only local file paths — no URLs, no user shell input.

# Credentials (only needed for IMAP fetch and SMTP send; local file parsing needs none)
env:
  EMAIL_USER:
    description: Your email address. Used for IMAP login and SMTP sender.
    required: false
    example: "you@163.com"
  EMAIL_PASS:
    description: IMAP/SMTP app password (NOT your login password). Generate in mailbox settings under POP3/SMTP/IMAP.
    required: false
    example: "your-app-password"
---

# Email Summarizer + Contact Profiler

Three independent stages — run any subset depending on what you need:

```
[Data Source]          [Analysis]          [Delivery]
fetch_imap.py    ──→                ──→
parse_file.py    ──→  build_report.py ──→  send_report.py
                       → .html + .xlsx
```

Each stage reads from / writes to files (or stdin/stdout), so they compose freely.

---

## Installation

```bash
# Python dependencies
pip install -r requirements.txt

# Node.js dependency (only for native .pst parsing)
cd scripts && npm install && cd ..
```

---

## Script Reference

### Stage 1 — Data Source

#### `fetch_imap.py` — Fetch emails from a live IMAP mailbox

```bash
export EMAIL_USER=you@163.com
export EMAIL_PASS=your-app-password

# Fetch last 7 days (inbox only) → emails.json
python3 scripts/fetch_imap.py --days 7 --output emails.json

# Fetch a date range, inbox + sent
pyth

_meta.json

{
  "ownerId": "kn7ccgm6ccdfmqbksppgt7zz6d83j8fe",
  "slug": "email-summarizer",
  "version": "1.0.4",
  "publishedAt": 1774597375100
}

scripts/package-lock.json

{
  "name": "email-summarizer-scripts",
  "version": "1.0.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "email-summarizer-scripts",
      "version": "1.0.0",
      "dependencies": {
        "pst-extractor": "^1.10.0"
      },
      "engines": {
        "node": ">=16.0.0"
      }
    },
    "node_modules/iconv-lite": {
      "version": "0.7.2",
      "resolved": "https://mirrors.tencent.com/npm/iconv-lite/-/iconv-lite-0.7.2.tgz",
      "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==",
      "license": "MIT",
      "dependencies": {
        "safer-buffer": ">= 2.1.2 < 3.0.0"
      },
      "engines": {
        "node": ">=0.10.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/express"
      }
    },
    "node_modules/long": {
      "version": "5.3.2",
      "resolved": "https://mirrors.tencent.com/npm/long/-/long-5.3.2.tgz",
      "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="
    },
    "node_modules/pst-extractor": {
      "version": "1.12.0",
      "resolved": "https://mirrors.tencent.com/npm/pst-extractor/-/pst-extractor-1.12.0.tgz",
      "integrity": "sha512-mO87iT2FGXc3MZVQ8YVIHn8GghM3WI8Dvqn872JEYXo0Bi5EFewS6hlmdPTasfFzrAJgJgnuA8EXSYSxIrCcyQ==",
      "license": "MIT",
      "dependencies": {
        "iconv-lite": "^0.7.1",
        "long": "^5.3.2",
        "uuid-parse": "^1.1.0"
      },
      "engines": {
        "node": ">=10"
      }
    },
    "node_modules/safer-buffer": {
      "version": "2.1.2",
      "resolved": "https://mirrors.tencent.com/npm/safer-buffer/-/safer-buffer-2.1.2.tgz",
      "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
      "license": "MIT"
    },
    "node_modules/uuid-parse": {
      "version": "1.1.0",
      "resolved": "https://mirrors.tencent.com/npm/uuid-parse/-/uuid-parse-1.1.0.tgz",
      "integrity": "sha512-OdmXxA8rDsQ7YpNVbKSJkNzTw2I+S5WsbMDnCtIWSQaosNAcWtFuI/YK1TjzUI6nbkgiqEyh8gWngfcv8Asd9A==",
      "license": "MIT"
    }
  }
}

scripts/package.json

{
  "name": "email-summarizer-scripts",
  "version": "1.0.0",
  "description": "Node.js dependencies for email-summarizer skill (PST native parsing)",
  "private": true,
  "dependencies": {
    "pst-extractor": "^1.10.0"
  },
  "engines": {
    "node": ">=16.0.0"
  }
}

skill-card.md

## Description:

Fetches emails from an IMAP mailbox or local exports, builds contact profile reports as HTML and Excel files, and can send the report by email.

This skill is ready for commercial/non-commercial use.

## Publisher:

[momothemage](https://clawhub.ai/user/momothemage)

### License/Terms of Use:

MIT-0

## Use Case:

Employees, external users, and developers use this skill to summarize mailbox contents, analyze contact relationships, and generate shareable contact profile reports from IMAP mailboxes or exported email archives.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill processes private mailbox contents and writes generated JSON, HTML, and XLSX reports that may contain sensitive email data.

Mitigation: Run it in a restricted workspace, fetch only the needed mailbox scope, and treat all generated report files as sensitive.

Risk: IMAP and SMTP workflows require mailbox credentials.

Mitigation: Use least-privilege app passwords and avoid hardcoding or sharing credentials.

Risk: Reports can be sent by email, which may expose sensitive results to unintended recipients.

Mitigation: Verify recipient addresses and report contents before sending.

Risk: Generated spreadsheets from untrusted mailbox content may expose spreadsheet formula injection risk.

Mitigation: Do not open generated spreadsheets from untrusted mailboxes unless formulas are neutralized or the output is reviewed first.

## Reference(s):


## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance, Files]

**Output Format:** [Markdown guidance with shell commands; generated JSON, HTML, and XLSX report files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uses local email exports or mailbox credentials as inputs and can send reports by SMTP when configured.]

## Skill Version(s):

1.0.4 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to email-summarizer and adjacent AI workflows.