Troubleshooting
Config permission warning
Section titled “Config permission warning”Herald warns when ~/.herald/conf.yaml is readable by group or other users.
chmod 600 ~/.herald/conf.yamlSQLite or CGO build errors
Section titled “SQLite or CGO build errors”Herald uses go-sqlite3, which requires CGO and a C compiler.
On macOS, install command line tools:
xcode-select --installThen rebuild:
make buildIMAP connection fails
Section titled “IMAP connection fails”Check:
- IMAP host and port
- App password or provider-specific password
- Whether IMAP is enabled for the account
- Whether a local bridge, such as Proton Mail Bridge, is running
- Whether the config path passed with
-configis the one you edited
Use debug logging for more detail:
./bin/herald -debugSMTP send fails
Section titled “SMTP send fails”Verify smtp.host, smtp.port, username, and password. Herald tries TLS-first behavior and can fall back to STARTTLS for providers that expect it.
AI unavailable
Section titled “AI unavailable”For Ollama, check that the server is running:
curl http://localhost:11434/api/tagsThen confirm your config includes:
ollama: host: "http://localhost:11434" model: "gemma3:4b" embedding_model: "nomic-embed-text-v2-moe"If AI is unavailable, Herald should keep the TUI responsive and show concise AI status instead of blocking mailbox use.
Body not cached in MCP
Section titled “Body not cached in MCP”Some MCP tools need cached body text. Open the email in the TUI first so Herald fetches and caches the body, then retry the MCP tool.
Terminal layout looks wrong
Section titled “Terminal layout looks wrong”Try a larger terminal first. The TUI is responsive, but very small terminals can trigger fallback layouts.
Useful sizes for layout checks:
tmux new-session -d -s herald-doc-check -x 220 -y 50tmux resize-window -t herald-doc-check -x 80 -y 24tmux resize-window -t herald-doc-check -x 50 -y 15If rendering artifacts appear, capture the pane and include the terminal size in the bug report.