# Self-Heal Report: palacemail **Time:** 03/17/2026, 20:23:54 ## Agent Output (tail) ``` **Palace Mail self-heal complete.** Two bugs found and fixed: 1. **`hasAttachments` false for inline images** — `inbox.ts` and `search.ts` only checked `disposition === 'attachment'`, missing Apple Mail's inline images. Extended the check to catch inline non-text parts too. Paperclip icon now shows correctly. 2. **Reply from Sent folder pre-fills own address as To** — Both reply button handlers in `mail.astro` were always using `msg.from`, so replying from Sent would address yourself. Fixed to use `msg.to` when in the Sent folder. Build rebuilt and service restarted. All 8 API endpoints verified 200 OK after the fix. ```