Files

24 lines
1022 B
Markdown

# Sho'Nuff Email Reply Pattern
Architecture for two-way email: Master emails shonuff@germainebrown.com → AI replies back.
## Script: `/root/.hermes/scripts/shonuff-email-responder.py`
- Collect mode (default): IMAP poll for UNSEEN from g@germainebrown.com, output JSON
- Send mode (--send): read reply from stdin, send via SMTP, BCC g@germainebrown.com
## Cron: `shonuff-email-reply` (every 5 min)
1. Script collects → agent reads → agent drafts → agent invokes --send
2. Dedup via `.shonuff-reply-processed.json`
3. Mark SEEN after processing to prevent re-read
## SMTP: mail.germainebrown.com:2525 STARTTLS, shonuff@germainebrown.com, pw in shonuff.pass
## Master→Sho'Nuff prefixes for email subject/first line:
- (none) → immediate command
- [bg]/[delegate] → background, subagent
- [queue] → queued for later
- [lookup] → quick research
- [note] → just FYI
## Design rule: existing shonuff-inbox-agent filters OUT g@germainebrown.com. This job ONLY processes g@germainebrown.com. No overlap.