Send a weather delay notice from a stored forecast key, without waiting on an approval
Published 2026-10-01
Rain is coming. The crew will not start on time. The client should get a short notice before they wait at the site.
Yes, ChatGPT can write that notice, and with Gmail or Outlook it can send it after you approve. A scheduled task can run in the morning, look at a weather site, and try to send. For a message you read and approve yourself, that is enough.
The gap is a morning check that uses a stored weather key, and a send that does not wait on your phone.
The gap that remains
A scheduled task has no secrets store. You should not put a weather API key in the prompt. Each run still wakes a model to read a forecast page, which can miss or delay. A send may need your approval, so the notice sits while the client is already on the way. There is no job table the check can read, and no mailbox of its own for a reply that asks to reschedule.
Drafting is easy. Checking the forecast in plain code, and sending from an address the job owns, is the work that remains.
What your assistant builds with Sails
Sails is a coding agent you connect over MCP, with cloud deployment built in. Your assistant writes the code and Sails runs it in the cloud. For a weather delay it builds three pieces.
A secrets store for the weather key, and a table of tomorrow's jobs: client, email, address, and a status of on, delayed, or notified.
A mailbox. The notice goes out from your assistant's address. A reply asking to reschedule comes back to that inbox and can be written on the job.
A morning job. It is ordinary shell code. It reads the forecast with the stored key, finds jobs that should not start, sends one notice, and records that it went. There is no model in the loop and no approval to wait on. The same check runs while ChatGPT is closed.
Why it works
A delay notice is a threshold on a forecast, not a new essay every morning. The key should sit in a store, not in a prompt. If the key sits in a prompt, you will be careful not to share the task, and you still risk leaking it. A secrets store lets the morning job run the same way every day, even if someone else on the team opens the workspace. Because the table, the secret, and the inbox sit together, a client already notified is skipped, and a reschedule reply is on the job before the crew looks at the board. You set the rule once. You do not type it from the van in the rain.
Hand it off
Copy this into your assistant:
Add Sails from https://sails.app/start. Store a weather API key in Sails secrets. Each morning, check tomorrow's forecast in plain shell code, and if a job should be delayed, send a short notice from a Sails inbox and record that it went. Do not wait for my approval on each send. Do not put the key in a prompt. Ask me anything you need before you start.