listener-creator

Generate TypeScript email listeners that monitor events and execute custom actions.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/dobeutech/dobeu-agents-sdk --skill listener-creator-dobeutech
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: listener-creator
Source: https://github.com/dobeutech/dobeu-agents-sdk/tree/main/email-agent/agent/.claude/skills/listener-creator
Command: npx skills add https://github.com/dobeutech/dobeu-agents-sdk --skill listener-creator-dobeutech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you generate TypeScript listeners that monitor email events and automatically trigger actions based on smart filters and AI-driven classifications.

Core Features & Use Cases

  • Event-driven automation: Listen for email_received and other events.
  • AI-driven decisioning: Use context.callAgent() to classify and act.
  • Prebuilt templates: Templates for urgent-watcher, auto-archive, etc.

Quick Start

Create a listener like "Auto-archive newsletters" to automatically archive marketing emails and notify.

Frequently Asked Questions about listener-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate email actions based on incoming messages?▼

Event-driven email automation listens for incoming messages and triggers custom actions like archiving, labeling, or notifications based on smart filters and AI-driven classification rules you define in TypeScript listeners.

Can I automatically archive newsletters and marketing emails?▼

Yes. Build TypeScript listeners that monitor for email_received events, use AI classification to identify newsletters, and execute archiving actions automatically through ListenerContext methods like archiveEmail and addLabel.

What's the structure of a TypeScript email listener?▼

Email listeners export a config object defining the event and filter logic, a handler function that executes actions, and use ListenerContext methods—notify, archiveEmail, starEmail, addLabel—to interact with your email system programmatically.

How do I use AI to classify and act on emails?▼

Call context.callAgent() within your listener handler to classify emails intelligently, then execute conditional actions like notifications, archiving, or labeling based on the classification result.

Can I monitor multiple email events with a single listener?▼

Listeners are event-specific and support dynamic loading of enabled listeners, allowing you to compose multiple listeners for different events—email_received, delivery status, package tracking—and manage them as a modular system.

What use cases work best with email event listeners?▼

Ideal for urgent email notifications, automated newsletter archiving, package tracking updates, scheduled actions, and delivery status alerts—any scenario requiring conditional email handling triggered by specific events.