Check an inbox every five minutes for almost nothing
What it does
Hermes Agent checks your email inbox every five minutes. Before anything else, it runs a small script that looks for new mail. If there is none, the run stops there with no model call, no prompt and no notification, so nothing is billed.
Why it's worth it
Runs with no new mail skip the model call, so they carry no bill, which is why the check costs almost nothing.
Watch an inbox every five minutes without paying for quiet runs.
Step by step
Paste it into Hermes Agent and swap the highlighted parts for your own details.
Before you start An email account Hermes Agent can read, plus a five-minute schedule to run on.
Get Hermes Agent to:
- Check my [email account] inbox for new messages.
- Write a small pre-check script that looks for new mail and ends the run when there is none.
- Schedule yourself to run every five minutes, with the pre-check script running first on each tick.
- If the script finds no new mail, end the run there with no model call, no prompt and no notification.
- If new mail is found, continue the run through the model and report the new messages back to me.
- Before deleting, replying to or sending anything from my [email account], ask me for approval in this thread.
- Report back with the schedule I set, where the pre-check script lives, and how many runs ended early with no new mail.
Expected resultRuns with no new mail make no model call, no prompt and no notification, so they carry no bill.
