Logo di Email Check

Email Check

Community
AgriciDaniel
email-check

Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance, categorizes into Urgent/Important/Routine/Archive, and generates reply suggestions for top priority items. Use when the user wants to check email, review inbox, triage messages, see what's urgent, or get reply suggestions. Triggers on check email, inbox triage, what's important, email summary, unread emails, priority inbox.

Panoramica

Pubblicato daAgriciDaniel
Repositoryclaude-email
Nome della skillemail-check
Stelle
132
Fork
32
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da AgriciDaniel su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Email Check in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git /tmp/claude-email
mkdir -p .claude/skills
cp -r /tmp/claude-email/skills/email-check .claude/skills/email-check
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Email Check in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Email Check non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Email Check non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Email Check Sub-Skill

Purpose

This sub-skill handles intelligent inbox triage by connecting to Gmail or Outlook via MCP, analyzing unread emails, scoring them by importance, categorizing them, and generating reply suggestions for high-priority items.

Workflow

1. Detect Available Email Provider

Check which MCP tools are available:

  • Gmail: search_gmail_messages, get_gmail_messages_content_batch, get_gmail_thread_content, list_gmail_labels
  • Outlook: list-mail-messages, list-mail-folder-messages, get-mail-message

Prefer Gmail if both are available (better batch operations).

2. Fetch Unread Emails

For Gmail:

search_gmail_messages(query="is:unread", max_results=50)

For Outlook:

list-mail-messages (defaults to recent messages, filter for unread)

3. Batch Fetch Email Content

For Gmail:

get_gmail_messages_content_batch(message_ids=[...])  # Up to 25 at a time

If more than 25 unread, prioritize most recent first.

For Outlook:

get-mail-message for each message (sequential)

Limit to 25 emails maximum to avoid overwhelming analysis.

4. Score Each Email (0-100)

Apply the following scoring algorithm:

Base Score: 50
Sender Recognition (+20 to -20)
  • +20: VIP/known contact (domain matches user's company, appears in sent folder frequently)
  • +10: Recognized sender (has prior thread history)
  • 0: Unknown sender with legitimate domain
  • -15: Newsletter/automated sender (bulk email headers, unsubscribe links)
  • -20: Notification sender (no-reply@, noreply@, automated@)
Direct Address (+15 to -10)
  • +15: Primary recipient (To: field)
  • 0: CC'd (CC: field)
  • -10: BCC'd or mass email (many recipients)
Thread Depth (+10)
  • +10: Reply in active thread (Re: subject, multiple messages in thread)
  • 0: New email (no thread history)
Urgency Keywords (+15)

Check subject and first 200 characters for:

  • urgent, ASAP, deadline, action required, immediate, time-sensitive, expiring, expires, due
  • +15 if any urgency keyword found
Calendar/Meeting (+20)
  • +20: Calendar invite, meeting request, event notification
  • Detect via attachments (ics file) or subject patterns (Invitation:, Meeting:)
Deadline Detection (+25)

Parse email body for dates/deadlines:

  • +25: Deadline within 48 hours
  • +10: Deadline within 7 days
  • 0: No deadline or deadline > 7 days
Business Relevance (+15 to -10)

If email-profile.md exists in parent directory:

  • +15: Mentions user's key topics, clients, projects
  • +5: Industry-relevant keywords
  • -10: Off-topic or personal (if business inbox)
Final Score Calculation

Sum all adjustments to base score of 50. Clamp to 0-100 range.

5. Categorize Emails

Based on final score:

Score RangeCategoryAction
85-100UrgentImmediate attention, generate reply suggestions
65-84ImportantReview soon, may need action
40-64RoutineNormal priority, review when available
20-39Low PrioritySkim or defer
0-19ArchiveLikely noise or automated

6. Generate Reply Suggestions

For emails scored 85+ (Urgent category):

  1. Read full thread context using get_gmail_thread_content or equivalent
  2. Check for email-profile.md in parent directory for user's:
    • Brand voice (professional, casual, direct, warm)
    • Common sign-off
    • Industry/role context
  3. Draft two reply options:
    • Brief: 1-2 sentences, direct answer
    • Detailed: 1 paragraph with context

Do NOT draft replies if:

  • Email requires research beyond available context
  • Email needs user decision (approve/decline, choose option)
  • Email is FYI/informational only
  • Email is calendar invite (suggest accept/decline/tentative instead)

In these cases, output: "This email requires your personal attention: [reason]"

7. Output Format

markdown
## Inbox Summary

**X unread emails** | Y Urgent | Z Important | W Routine | V Low Priority

### Urgent (Action Required)

| # | From | Subject | Score | Suggested Action |
|---|------|---------|-------|------------------|
| 1 | sender@domain.com | Subject line | 95 | [Reply/Review/Respond] |
| 2 | ... | ... | 88 | ... |

---

### Important

| # | From | Subject | Score | Category |
|---|------|---------|-------|----------|
| 3 | ... | ... | 78 | Meeting follow-up |
| 4 | ... | ... | 70 | Client inquiry |

---

### Routine & Low Priority

- **Routine (40-64)**: X emails - [grouped summary by sender/topic]
- **Low Priority (20-39)**: Y emails - newsletters, notifications
- **Archive (<20)**: Z emails - automated/noise

---

### Suggested Replies

#### 1. Re: [Subject] (to: sender@domain.com)

**Context:** [Why this email scored high, key points]

**Brief Option:**
> [1-2 sentence reply]
>
> [Sign-off]

**Detailed Option:**
> [Paragraph with more context/explanation]
>
> [Sign-off]

#### 2. Re: [Next urgent email]

[Repeat format]

---

### Emails Requiring Personal Attention

- **#X - [Subject]**: Needs decision on [topic]
- **#Y - [Subject]**: Requires research before responding

Scoring Signal Reference

SignalScore ImpactDetection
Direct To: address+15Check To: field
VIP/known sender+20Domain match, sent folder history
Active thread+10Thread ID, Re: in subject
Urgency keywords+15Subject/body scan
Calendar invite+20.ics attachment, invite headers
Deadline <48h+25Date parsing in body
Deadline <7d+10Date parsing in body
Business relevance+15Match email-profile.md topics
CC'd (not primary)-10CC: field
Newsletter-20Unsubscribe link, bulk headers
Notification-15no-reply@ sender
Unknown sender-10No thread history

Reply Suggestion Guidelines

Tone Adaptation

If email-profile.md exists, adapt replies to match:

  • Professional: Formal, structured, clear
  • Casual: Friendly, conversational
  • Direct: Brief, action-oriented
  • Warm: Personable, relationship-focused

Default to professional-friendly if no profile exists.

Reply Structure

Brief Option:

  • Answer the core question/request
  • 1-2 sentences maximum
  • Clear next step if needed

Detailed Option:

  • Address all points raised
  • Provide context or explanation
  • 1 paragraph (3-5 sentences)
  • Suggest next steps or timeline

When NOT to Draft

  • Email asks for approval/decision → Suggest: "Review and approve/decline X"
  • Email requires data you don't have → "This email requires your personal attention: needs [data/info]"
  • Email is complex multi-part → "This email requires your personal attention: multiple decisions needed"
  • Email is FYI only → Suggested Action: "Review (no response needed)"

Error Handling

No MCP Connection

If neither Gmail nor Outlook MCP is available:

Error: No email provider connected. Please ensure Gmail MCP or Outlook MCP is configured.

Empty Inbox

## Inbox Summary
**0 unread emails** - Your inbox is clear!

MCP Rate Limits

If batch fetch fails, fall back to individual message retrieval (slower but reliable).

Thread Context Unavailable

If get_gmail_thread_content fails, draft replies based on single message only (note: "Limited context - single message view").

Integration Points

email-profile.md (optional)

If exists in parent directory (../email-profile.md), use for:

  • Brand voice detection
  • Business relevance scoring
  • Reply tone/style matching
  • Common topics/clients list

Gmail-Specific Features

  • Use labels to refine categorization (e.g., skip "Promotions" labeled emails)
  • Check sent folder for sender recognition

Outlook-Specific Features

  • Use folder structure for context (Inbox vs Focused)
  • Leverage categories if available

Performance Optimization

  • Batch fetch 25 emails at a time (Gmail)
  • Limit analysis to 50 most recent unread
  • Cache sender recognition data during session
  • Prioritize most recent emails if >50 unread

Output Constraints

  • Keep total output under 2000 lines
  • Group routine/low priority emails by topic/sender
  • Only show full details for Urgent and Important categories
  • Collapse archived emails into summary count

Quality Gates

Before outputting digest:

  1. Verify all urgency scores are justified with signal breakdown
  2. Ensure reply suggestions are actionable (not generic)
  3. Check that "personal attention" notes explain why
  4. Confirm categories align with score ranges
  5. Validate that batch operations completed successfully

Success Criteria

A successful email check session should:

  • Identify all truly urgent emails (no false negatives)
  • Minimize false positives in Urgent category (precision > 80%)
  • Provide actionable reply drafts for top 3-5 emails
  • Complete analysis in <30 seconds for 25 emails
  • Output clear next actions for each category

Domande frequenti

Cosa fa la skill IA Email Check?

Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance, categorizes into Urgent/Important/Routine/Archive, and generates reply suggestions for top priority items. Use when the user wants to check email, review inbox, triage messages, see what's urgent, or get reply suggestions. Triggers on check email, inbox triage, what's important, email summary, unread emails, priority inbox.

Perché usare Email Check su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Email Check è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Email Check in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Email Check?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Email Check?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Email Check: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Email Check è gratuita?

Sì. È pubblicata su GitHub da AgriciDaniel con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇