Skip to content
Back to skills

Email Search Analyzer

ASecurity

When the user needs to search and analyze emails for specific content patterns, particularly for tracking submissions, communications, or specific file types. This skill performs intelligent email searches with multiple keyword variations, extracts structured information from email subjects and metadata, and identifies patterns in submission data. Triggers include searching for assignment submissions, finding emails with specific patterns, extracting submission timestamps, analyzing email met...

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 29, 2026
businessgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add zjunlp/Skills --skill email-search-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Email Search Analyzer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Email Search Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zjunlp-email-search-analyzer/badge)](https://www.skillsdirectory.com/skills/zjunlp-email-search-analyzer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: email-search-analyzer
description: When the user needs to search and analyze emails for specific content patterns, particularly for tracking submissions, communications, or specific file types. This skill performs intelligent email searches with multiple keyword variations, extracts structured information from email subjects and metadata, and identifies patterns in submission data. Triggers include searching for assignment submissions, finding emails with specific patterns, extracting submission timestamps, analyzing email metadata, and identifying submission confirmation messages.
---
# Instructions

## Core Workflow
1.  **Clarify & Parse Request:** Understand the user's goal. Identify the key submission or communication pattern to search for (e.g., "final presentation", "homework 3", "report submission"). Note any specific folders, senders, or date ranges.
2.  **Perform Intelligent Email Search:**
    *   Start with the user's specified keywords.
    *   If initial search yields no results, automatically try related keyword variations (e.g., "presentation" if "final presentation" fails, or "NLP" for a course code).
    *   Use the `emails-search_emails` tool. Search in the specified folder (default: INBOX). Use a sufficient `page_size` (e.g., 50) to capture all relevant emails.
    *   Extract and log the total number of results.
3.  **Analyze Submission Patterns & Extract Data:**
    *   Examine email subjects and metadata (From, Date).
    *   Look for structured patterns in subjects (e.g., `nlp-presentation-<StudentID>-<Name>`). Extract identifiers (IDs, names) into a list.
    *   Note the submission timeframe from email dates.
4.  **Cross-Reference with External Data (if applicable):**
    *   If the user provides a reference file (e.g., student roster Excel file), load and parse it.
    *   Use tools like `excel-get_workbook_metadata` and `excel-read_data_from_excel` to read the data.
    *   Identify the relevant columns (e.g., Student ID, Name, Email, Status/Notes).
5.  **Identify Discrepancies & Target List:**
    *   Compare the list of submitters (from emails) against the master list (from reference data).
    *   Identify individuals who are on the master list but **not** in the submission list.
    *   **Apply filters:** Exclude individuals based on status notes (e.g., "withdrew", "auditing") from the target list for reminders.
    *   Compile the final list of non-submitters with their associated contact info (email, ID, name).
6.  **Execute Follow-up Actions (if requested):**
    *   If the task requires sending notifications (e.g., reminder emails), draft and send personalized messages.
    *   Use a subject and body format specified by the user. **Always include the recipient's name and ID in the body** to personalize the message and avoid spam filters.
    *   Use the `emails-send_email` tool for each recipient.
7.  **Summarize Findings:**
    *   Provide a clear summary including:
        *   Total emails found matching the pattern.
        *   Number of unique submitters identified.
        *   Number of individuals missing submissions (after applying filters).
        *   List of non-submitters (IDs, Names).
        *   Confirmation of any actions taken (e.g., "Reminder emails sent to X and Y").
    *   Mention any excluded individuals and the reason (e.g., withdrawn, auditing).

## Key Principles
*   **Keyword Flexibility:** Don't rely on a single search term. Iterate through logical variations.
*   **Pattern Recognition:** Actively look for and decode structured data within email subjects and metadata.
*   **Data Hygiene:** Always cross-check and filter lists using available status/note fields before taking action.
*   **Personalization & Anti-Spam:** Include identifiable user details (name, ID) in any communication body.
*   **Clear Reporting:** Structure the final summary to answer the user's original query explicitly.

Files in this skill

  • SKILL.md3.8 KB
  • references/email_patterns.md1.5 KB
  • references/reminder_template.md250 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.