# Let agents list and move mail in server folders · Issue \#5 · michael/spark-rs

[View on GitCafe](https://git.cafe/michael/spark-rs/issues/5)

Repository: [michael/spark-rs](https://git.cafe/michael/spark-rs)

Visibility: public

State: backlog

Priority: 0

## Description

[Discussion and activity](https://git.cafe/michael/spark-rs/issues/5)

---

Agent access ([PR #2](https://git.cafe/michael/spark-rs/pulls/2)) and folder navigation ([PR #3](https://git.cafe/michael/spark-rs/pulls/3)) were built at the same time, so the agent tools don't know about server folders yet. Agents can find mail in Sent, Drafts and the user's folders and Gmail labels through `search_messages`, but every such result is labelled only `"folder": "filed"`. They can't list a folder, see which folder a message is in, or move mail into one.

