Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

E2c

БесплатноБез исполняемых скриптовНе проверен

Turn emails into Google Calendar events. Scans your Gmail inbox (or only forwarded emails) to extract meetings, appointments, RSVPs, and deadlines, then…

tonimelismaот tonimelisma7 564 установки в других каталогах

Об этом скилле

CRITICAL RULES - READ BEFORE PROCESSING ANY EMAIL

  1. NEVER CALL gog DIRECTLY - ALWAYS use wrapper scripts (create_event.sh, email_read.sh, etc.). Direct gog calls bypass tracking and cause duplicates. THIS IS NON-NEGOTIABLE.
  2. IGNORE CALENDAR NOTIFICATIONS - DO NOT process emails from [email protected] (Accepted:, Declined:, Tentative:, etc.). These are responses to existing invites, NOT new events. Run process_calendar_replies.sh to archive them.
  3. ALWAYS ASK BEFORE CREATING - Never create calendar events without explicit user confirmation in the current conversation
  4. CHECK IF ALREADY PROCESSED - Before processing any email, check processed_emails in index.json
  5. READ CONFIG FIRST - Load and apply ignore_patterns and auto_create_patterns before presenting events
  6. READ MEMORY.MD - Check for user preferences stored from previous sessions
  7. INCLUDE ALL CONFIGURED ATTENDEES - When creating/updating/deleting events, always include attendees from config with --attendees flag (and --send-updates all if supported)
  8. CHECK TRACKED EVENTS FIRST - Use lookup_event.sh --email-id to find existing events before calendar search (faster, more reliable)
  9. TRACK ALL CREATED EVENTS - The create_event.sh script automatically tracks events; use tracked IDs for updates/deletions
  10. SHOW DAY-OF-WEEK - Always include the day of week when presenting events for user verification

⛔ FORBIDDEN: DO NOT USE gog COMMANDS DIRECTLY ⛔

WRONG: gog calendar create ... or gog gmail ... RIGHT: "$SCRIPTS_DIR/create_event.sh" ... or "$SCRIPTS_DIR/email_read.sh" ...

Direct CLI calls bypass event tracking, break duplicate detection, and cause duplicate events. ALL operations MUST go through the wrapper scripts in scripts/.

Email to Calendar Skill

Extract calendar events and action items from emails, present them for review, and create/update calendar events with duplicate detection and undo support.

First-time setup: See SETUP.md for configuration options and smart onboarding.

What This Skill Accesses

For transparency, so every email and calendar action is expected and disclosed:

  • Reads Gmail — lists/searches unread mail and reads message bodies to find events.
  • Manages Google Calendar — creates and updates events; deletes events only when you undo a change.
  • Sends email — optional deadline-reminder notifications to you, only when deadline_notifications.enabled is true in config.
  • Modifies Gmail labels — marks processed mail as read and/or archives it, per the email_handling config.
  • Runs locally — shells out to the gog CLI and the bundled wrapper scripts in scripts/; never downloads or runs remote/unknown binaries.
  • Stores state locally — event tracking, pending invites, changelog, and activity logs as JSON under your data dir. No external servers, telemetry, or data sharing.

Event creation always requires explicit confirmation, and changes are undoable within 24 hours.

Reading Email Content

IMPORTANT: Before you can extract events, you must read the email body. Use the wrapper scripts.

SCRIPTS_DIR="$HOME/.openclaw/workspace/skills/email-to-calendar/scripts"

# Get a single email by ID (PREFERRED)
"$SCRIPTS_DIR/email_read.sh" --email-id "<messageId>"

# Search with body content included
"$SCRIPTS_DIR/email_search.sh" --query "in:inbox is:unread" --max 20 --include-body

Note on stale forwards: Don't use newer_than:1d because it checks the email's original date header, not when it was received. Process all UNREAD emails and rely on the "already processed" check.

Workflow

0. Pre-Processing Checks (MANDATORY)

SCRIPTS_DIR="$HOME/.openclaw/workspace/skills/email-to-calendar/scripts"
CONFIG_FILE="$HOME/.config/email-to-calendar/config.json"
INDEX_FILE="$HOME/.openclaw/workspace/memory/email-extractions/index.json"

# Start activity logging
"$SCRIPTS_DIR/activity_log.sh" start-session

# Check email mode
EMAIL_MODE=$(jq -r '.email_mode // "forwarded"' "$CONFIG_FILE")

# Check if email was already processed
EMAIL_ID="<the email message ID>"
if jq -e ".extractions[] | select(.email_id == \"$EMAIL_ID\")" "$INDEX_FILE" > /dev/null 2>&1; then
    "$SCRIPTS_DIR/activity_log.sh" log-skip --email-id "$EMAIL_ID" --subject "Subject" --reason "Already processed"
    exit 0
fi

# Load ignore/auto-create patterns
IGNORE_PATTERNS=$(jq -r '.event_rules.ignore_patterns[]' "$CONFIG_FILE")
AUTO_CREATE_PATTERNS=$(jq -r '.event_rules.auto_create_patterns[]' "$CONFIG_FILE")

1. Find Emails to Process

DIRECT mode: Scan all unread emails for event indicators (dates, times, meeting keywords).

FORWARDED mode: Only process emails with forwarded indicators (Fwd:, forwarded message headers).

2. Extract Events (Agent does this directly)

Read the email and extract events as structured data. In

Полный SKILL.md на ClawHub

Установить E2c в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл E2c?

Turn emails into Google Calendar events. Scans your Gmail inbox (or only forwarded emails) to extract meetings, appointments, RSVPs, and deadlines, then creates and updates calendar entries after you confirm. Reads Gmail and manages Google Calendar through the gog CLI; can send deadline-reminder emails, archive and label processed mail, delete events on undo, and stores event-tracking state locally (no external servers or telemetry). Features smart onboarding, duplicate detection, pending-invite reminders, 24-hour undo, silent activity logging, separate deadline reminder events, and provider abstraction. Use for forwarded-email-to-calendar, auto-creating events from your inbox, and extracting meetings and RSVP deadlines from email.

Как установить скилл E2c?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл E2c запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить E2c с