New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Scan an AgentMail inbox for newsletter signals

Newsletter monitor

by gooseworks-ai · MIT license · ★ 1,220 on GitHub · updated Sep 21

Newsletter monitor cover

Scan an AgentMail inbox for newsletter signals using configurable keyword campaigns. Extracts matched keywords, context snippets, and company mentions from incoming emails.

---
name: newsletter-monitor
description: >
  Scan an AgentMail inbox for newsletter signals using configurable keyword
  campaigns. Extracts matched keywords, context snippets, and company mentions
  from incoming emails. Use for monitoring accounting industry newsletters
  for buying signals like acquisitions, migrations, and staffing news.
---

# Newsletter Monitor

Scan an AgentMail inbox for newsletter signals using configurable keyword campaigns. Designed for monitoring accounting industry newsletters for buying signals like acquisitions, Sage Intacct migrations, staffing challenges, and technology adoption.

## Quick Start

```bash
# Set your API key
export AGENTMAIL_API_KEY="your_key_here"

Overview

Scan an AgentMail inbox for newsletter signals using configurable keyword campaigns. Designed for monitoring accounting industry newsletters for buying signals like acquisitions, Sage Intacct migrations, staffing challenges, and technology adoption.

Manual install (npx, ZIP)
Claude Codenpx skills add gooseworks-ai/goose-skills --skill newsletter-monitor -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/gooseworks-ai/goose-skills/tar.gz/615c685f34f8 \ | tar -xz -C ~/.claude/skills --strip-components=4 goose-skills-615c685f34f8/skills/monitoring/composites/newsletter-monitor
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/e58e0367747a905e557b/newsletter-monitor.zip" -OutFile "$env:TEMP\newsletter-monitor.zip"; Expand-Archive "$env:TEMP\newsletter-monitor.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md2.7 KB
  • skill.meta.json316 B
  • config/1 file · 858 B
  • scripts/1 file · 14.5 KB
Read the files here
gooseworks-ai/615c6854 files
SKILL.md
Show the full text77 lines

Newsletter Monitor

Scan an AgentMail inbox for newsletter signals using configurable keyword campaigns. Designed for monitoring accounting industry newsletters for buying signals like acquisitions, Sage Intacct migrations, staffing challenges, and technology adoption.

Quick Start

# Set your API key
export AGENTMAIL_API_KEY="your_key_here"

# Scan inbox with all campaigns (summary view)
python3 skills/newsletter-monitor/scripts/scan_newsletters.py --output summary

# Scan specific campaign, last 7 days
python3 skills/newsletter-monitor/scripts/scan_newsletters.py --campaign acquisitions --days 7 --output summary

# JSON output for downstream processing
python3 skills/newsletter-monitor/scripts/scan_newsletters.py --output json --limit 50

Dependencies

pip3 install agentmail python-dotenv

Configuration

Keyword campaigns are defined in config/campaigns.json. Each campaign has a description and a list of keywords for case-insensitive substring matching.

Built-in campaigns:

  • acquisitions - CPA firm M&A activity
  • sage_intacct - Sage Intacct migration and implementation signals
  • staffing - Accounting talent and staffing challenges
  • technology - Accounting technology adoption

CLI Options

Flag Description Default
--campaign NAME Run only a specific campaign All campaigns
--days N Only scan emails from last N days No limit
--keywords "a,b,c" Custom keywords (overrides campaigns) Use campaigns.json
--output json|summary Output format json
--inbox ADDRESS Override inbox address AGENTMAIL_INBOX env or [email protected]
--limit N Max messages to fetch 100

Output

JSON mode (default)

Returns an array of matched messages with:

  • message_id, from, subject, date
  • matched_campaigns - which campaigns triggered
  • matched_keywords - specific keywords found
  • context_snippets - 200-char window around each match
  • companies_mentioned - capitalized multi-word phrases near matches
Summary mode

Human-readable report showing matched emails grouped by campaign with snippets and detected companies.

Downstream Skills

When newsletter signals are found, chain to:

  • company-contact-finder - look up contacts at mentioned companies
  • accounting-news-monitor - combine with direct news monitoring for fuller signal coverage
1---
2name: newsletter-monitor
3description: >
4 Scan an AgentMail inbox for newsletter signals using configurable keyword
5 campaigns. Extracts matched keywords, context snippets, and company mentions
6 from incoming emails. Use for monitoring accounting industry newsletters
7 for buying signals like acquisitions, migrations, and staffing news.
8---
9 
10# Newsletter Monitor
11 
12Scan an AgentMail inbox for newsletter signals using configurable keyword campaigns. Designed for monitoring accounting industry newsletters for buying signals like acquisitions, Sage Intacct migrations, staffing challenges, and technology adoption.
13 
14## Quick Start
15 
16```bash
17# Set your API key
18export AGENTMAIL_API_KEY="your_key_here"
19 
20# Scan inbox with all campaigns (summary view)
21python3 skills/newsletter-monitor/scripts/scan_newsletters.py --output summary
22 
23# Scan specific campaign, last 7 days
24python3 skills/newsletter-monitor/scripts/scan_newsletters.py --campaign acquisitions --days 7 --output summary
25 
26# JSON output for downstream processing
27python3 skills/newsletter-monitor/scripts/scan_newsletters.py --output json --limit 50
28```
29 
30## Dependencies
31 
32```
33pip3 install agentmail python-dotenv
34```
35 
36## Configuration
37 
38Keyword campaigns are defined in `config/campaigns.json`. Each campaign has a description and a list of keywords for case-insensitive substring matching.
39 
40Built-in campaigns:
41- **acquisitions** - CPA firm M&A activity
42- **sage_intacct** - Sage Intacct migration and implementation signals
43- **staffing** - Accounting talent and staffing challenges
44- **technology** - Accounting technology adoption
45 
46## CLI Options
47 
48| Flag | Description | Default |
49|------|-------------|---------|
50| `--campaign NAME` | Run only a specific campaign | All campaigns |
51| `--days N` | Only scan emails from last N days | No limit |
52| `--keywords "a,b,c"` | Custom keywords (overrides campaigns) | Use campaigns.json |
53| `--output json\|summary` | Output format | `json` |
54| `--inbox ADDRESS` | Override inbox address | `AGENTMAIL_INBOX` env or `[email protected]` |
55| `--limit N` | Max messages to fetch | `100` |
56 
57## Output
58 
59### JSON mode (default)
60 
61Returns an array of matched messages with:
62- `message_id`, `from`, `subject`, `date`
63- `matched_campaigns` - which campaigns triggered
64- `matched_keywords` - specific keywords found
65- `context_snippets` - 200-char window around each match
66- `companies_mentioned` - capitalized multi-word phrases near matches
67 
68### Summary mode
69 
70Human-readable report showing matched emails grouped by campaign with snippets and detected companies.
71 
72## Downstream Skills
73 
74When newsletter signals are found, chain to:
75- **company-contact-finder** - look up contacts at mentioned companies
76- **accounting-news-monitor** - combine with direct news monitoring for fuller signal coverage
77 
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 1,220
Checked
Source
gooseworks-ai/goose-skills ↗
Creator
gooseworks-ai · 206 listings
View creator

Made with newsletter-monitor

Newsletter monitor — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)
Newsletter monitor — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)

by gooseworks-ai

Similar skills

See all →
SkillTell us about your business and who you sell toA Free Giveaway That Grows Your Email Listcoreyhaines31/marketingskills · by coreyhaines31Tell us about your business and who you sell to, and get back a ready-to-launch free offer that turns website visitors into email signups and future customers.★ 51.1k GitHub starsSkillSays 'newsletter', 'email newsletter', 'weekly digest'Newsletter: Writing email newsletter edition...cwinvestments/memstack · by cwinvestmentsUse this skill when the user says 'newsletter', 'email newsletter', 'weekly digest', 'subscriber growth', 'open rates', or needs subject lines, content structure, sponsorship placement, and growth tactics for email newsletters. Do NOT use for lead magnets or content pipelines.★ 423 GitHub starsSkillWrite a signal-based cold outreach email that earns a replySignal-Based Cold Email (2026 benchmarks)kami-community/kami · by kami-communityWrite a signal-based cold outreach email that earns a reply. Use when drafting outbound/SDR email to a prospect with a known recent signal (funding, hiring, exec hire, launch, community post).★ 64 GitHub starsSkillHostinger Reach API for contact management, segmentationHostinger Reach (Email Marketing)hostinger/hostinger-agent-skills · by hostingerHostinger Reach (Email Marketing) API for contact management, segmentation, contact groups, and profile management. Use when creating or listing contacts, managing contact segments or groups, filtering contacts by subscription status, or working with email marketing profiles.★ 23 GitHub starsMCPExpert email marketing strategist for CRM-driven campaignsmsitarzewski/agency-agents · by msitarzewskiExpert email marketing strategist for CRM-driven campaigns, lifecycle automation, segmentation architecture, and deliverability. Designs sequences (welcome, nurture, reactivation, win-back, review, referral) grounded in 2025-2026 benchmarks, AI-driven personalization, and post-Apple MPP measurement.★ 154k GitHub starsSkillWrite B2B cold emails and follow-up sequences that getCold Email Writingcoreyhaines31/marketingskills · by coreyhaines31Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, personalization, and multi-touch follow-up sequences. For warm/lifecycle email sequences, see emails. For sales collateral beyond emails, see sales-enablement.★ 51.1k GitHub stars

More from gooseworks-ai

SkillMine the highest-converting ad angles from customer reviewsAd angle minergooseworks-ai/goose-skills · by gooseworks-aiMine the highest-converting ad angles from customer reviews, Reddit complaints, support tickets, and competitor ads. Extracts actual pain language, competitor weaknesses, and outcome phrases that real buyers use. Outputs a ranked angle bank with proof quotes and recommended ad formats per angle.★ 1.2k GitHub starsSkillAnalyze ad campaign performance data to identify what'sAd campaign analyzergooseworks-ai/goose-skills · by gooseworks-aiAnalyze ad campaign performance data (Google, Meta, LinkedIn) to identify what's working, what's wasting budget, and specific cut/scale/test recommendations. Runs statistical analysis, funnel diagnostics, and multi-channel budget reallocation with specific dollar-amount shift recommendations and scenario modeling.★ 1.2k GitHub starsSkillFor paid lead-gen and participant-recruitment adsAd lead quality analyzergooseworks-ai/goose-skills · by gooseworks-aiFor paid lead-gen and participant-recruitment ads, replaces vanity CPA with true CAC per qualified lead by joining ad-platform data with downstream funnel events, surfaces tracking gaps, and classifies every creative into Scale / Keep / Investigate / Cut.★ 1.2k GitHub starsSkillAnalyze the message match between your ads and landing pagesAd to landing page auditorgooseworks-ai/goose-skills · by gooseworks-aiAnalyze the message match between your ads and landing pages. Checks if the promise in the ad copy carries through to the landing page headline, body, and CTA. Flags disconnects that kill conversion rates. Works with Google, Meta, and LinkedIn ads.★ 1.2k GitHub starsSkillCheck and improve your brand's visibility across AI searchAeogooseworks-ai/goose-skills · by gooseworks-aiCheck and improve your brand's visibility across AI search engines (ChatGPT, Perplexity, Gemini, Grok, Claude, DeepSeek). Set up tracking, run visibility analyses, audit your website for AI readability, and get actionable recommendations. Uses the npx goose-aeo@latest CLI.★ 1.2k GitHub starsSkillSearch Amazon products - find items, compare pricesAmazon Product Searchgooseworks-ai/goose-skills · by gooseworks-aiSearch Amazon products - find items, compare prices, read reviews★ 1.2k GitHub stars