Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/gooseworks-ai-newsletter-monitor/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✗→✓ | ▲ Improved | -68% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 71% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 2% | 0% |
| case-18 | ✓→✗ | ▼ Worse | -41% | 0% |
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.
bash# 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
pip3 install agentmail python-dotenvKeyword 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:
| 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 supergoose@agentmail.to | | --limit N | Max messages to fetch | 100 |
Returns an array of matched messages with:
message_id, from, subject, datematched_campaigns - which campaigns triggeredmatched_keywords - specific keywords foundcontext_snippets - 200-char window around each matchcompanies_mentioned - capitalized multi-word phrases near matchesHuman-readable report showing matched emails grouped by campaign with snippets and detected companies.
When newsletter signals are found, chain to:
Other measured skills in the registry, with their headline benchmark lift.