Promo email that goes out only when rain is coming
What you get
Each morning the forecast for your city is checked; if heavy rain is expected this evening, a prepared delivery-discount email goes to subscribers at noon, otherwise nothing is sent.
Why this combination
The weather service of Norway publishes free forecasts for the whole world with commercial use allowed, and a self-hosted mailer turns them into a trigger that big chains buy from ad platforms.
Parts
What was checked
On November 26, 2026 a script checked all 2 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.
Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.
Limits, honestly
Send only to people who subscribed, identify your app in requests to the weather API, and cap it at one weather email a week.
How to start
It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.
Prompt for your AI agent
Build this for me: Promo email that goes out only when rain is coming. What I want to get: Each morning the forecast for your city is checked; if heavy rain is expected this evening, a prepared delivery-discount email goes to subscribers at noon, otherwise nothing is sent. Use these open projects and data: - MET Norway Locationforecast: https://api.met.no/weatherapi/locationforecast/2.0/documentation (CC BY 4.0 / NLOD 2.0, check its terms of use) - listmonk: https://github.com/knadh/listmonk (AGPL-3.0) Why this combination: The weather service of Norway publishes free forecasts for the whole world with commercial use allowed, and a self-hosted mailer turns them into a trigger that big chains buy from ad platforms. Known limits: Send only to people who subscribed, identify your app in requests to the weather API, and cap it at one weather email a week. Run it on my computer. Tell me first what you will install and where. Explain each step in plain words for someone who does not program. Do not ask me for passwords or keys and do not use administrator rights. Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first. When it works, tell me how to open it again. If something does not work, say so plainly.