# Add MCP tools for AI agents to access mail · PR \#2 · michael/spark-rs

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

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

Visibility: public

State: merged

Source repository: michael/spark-rs

Source branch: agent-access

Target branch: main

Head commit: 88c9584495288beeac77f7befdd28e127a450d78

[Discussion and reviews](https://git.cafe/michael/spark-rs/pull/2)

[Commits](https://git.cafe/michael/spark-rs/pull/2/commits?format=markdown)

[Files changed](https://git.cafe/michael/spark-rs/pull/2/diffs?format=markdown)

## Description

---

## Summary

- Add `spark-cli mcp` and shell commands for agents to access mail through the running app.
- Add per-account Read, Triage, and Send permissions in Settings, with a 30-second undo window for agent-sent email.
- Document agent setup and available access levels.

## Testing

- Not run
