Keep mail locally and query bookings from a database
A Hacker News user explains how he makes Hermes faster with email. The tool mbsync downloads all mail from all his accounts to a local IMAP server, so the agent avoids Gmail rate limits and gets the full message. Bookings and purchases are parsed once on arrival, with one script per merchant, and stored in SQLite. When he asks where they are staying next week, Hermes writes a SQL query, but he calls his own theory unscientific.
Done with HermesModerate
What was done
A Hacker News user explains how he makes Hermes faster with email. The tool mbsync downloads all mail from all his accounts to a local IMAP server, so the agent avoids Gmail rate limits and gets the full message. Bookings and purchases are parsed once on arrival, with one script per merchant, and stored in SQLite. When he asks where they are staying next week, Hermes writes a SQL query, but he calls his own theory unscientific.
How to do it
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- Check the original before you trust a figure, a name or a date.
Try it with Hermes
Set up a local copy of my email from [accounts] with [sync tool] and a local IMAP server. Write a parser for confirmations from [shops and travel companies], and store the fields [date, place, amount] in a SQLite database. Show me the table structure and three parsed examples before you run it on the whole archive. Do not delete anything on the server. You are done when you answer [question about the next trip] with a query against the database.
Replace text in brackets with your own.
Hacker News ·