Skip to content
UsecaseBoard
← All use cases
hashnodeNews Briefing

Research a morning news briefing and deliver it by email

At a glance

An SDET combined Hermes Agent with a TypeScript mail sender to research, save and email a categorized news briefing. This workflow is listed under News Briefing, Email Automation, Scheduled Tasks.

SourceBuilding a tool for these workflows? See weekly rates.

What they did

1) Open github.com/Hema-Nambi/daily-brief-hermes in Codespaces. Run pip install hermes-agent and npm install. Have OpenRouter access and Gmail with two-step verification and an app password. 2) Configure OPENROUTER_API_KEY, HERMES_MODEL, SMTP_HOST=smtp.gmail.com, SMTP_USER and SMTP_PASS in private ~/.hermes/.env. Edit RECIPIENTS in send-newsletter.ts. 3) Create briefings/test.md, run npx tsx send-newsletter.ts briefings/test.md and confirm delivery. 4) In skills/daily_brief.md, instruct Hermes to research five current headlines each for Canada, world, India and AI/tech, summarize them, save briefings/YYYY-MM-DD.md and run the sender on that file. 5) Start hermes chat and request execution for today's date. Check the saved briefing and inbox. 6) For recurrence, run hermes cron start. In chat, use /cron add '0 8 * * *' with the same briefing task for 08:00 UTC delivery; test with /cron run <job-id>.

How it went

The author reports receiving the generated briefing after fixing mail configuration and spam filtering.

Worth knowing

Codespaces suspends when idle, preventing scheduled delivery. An unattended daily run needs an environment that stays running.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

No prompt excerpt was provided by the source.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →