Description-Behavior Mismatch
Medium
- Confidence
- 94% confidence
- Finding
- The read operation is not purely read-only: after fetching the message with BODY.PEEK, the code explicitly issues STORE +FLAGS (\Seen), which changes server-side message state. This can mislead downstream users or automations that rely on unread status, and it creates a side effect that is not apparent from a function named as a read operation.
