# Draft quick replies with your AI provider · michael/spark-rs

[View on GitCafe](https://git.cafe/michael/spark-rs/commit/3bb4f538aa541591f2d448a48caf4847507ce861)

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

Visibility: public

Requested revision: 3bb4f538aa541591f2d448a48caf4847507ce861

Requested commit: 3bb4f538aa541591f2d448a48caf4847507ce861

Commit: 3bb4f538aa541591f2d448a48caf4847507ce861

Tree: 5490011fa413389cee032b6082ac8447ab12c2f8

Author: Michael Rodriguez

Committer: Michael Rodriguez

## Message

```
Draft quick replies with your AI provider

The Interested, Not interested and Thanks chips under an email now open a
reply that your own AI provider writes, streamed into the composer. A
"Generating…" strip offers Stop, which keeps the text so far; the body is
read-only and Send waits until it's done. Errors and refusals clear the
body and offer Try again. Without a provider set up, the chips insert the
same stock lines as before.

The prompt gives the email, what the chip means, a two-to-four sentence
length, and the account's name for the sign-off. Like the summary prompt,
it tells the model the email is content, not instructions.

Summaries and replies now share one streamed-event type and one run
registry on the Rust side, and the email formatting both prompts quote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [bc1dc6d5d34c3364960f32ebc096cbdf25fe04ce](https://git.cafe/michael/spark-rs/commit/bc1dc6d5d34c3364960f32ebc096cbdf25fe04ce?format=markdown)

[Source at this commit](https://git.cafe/michael/spark-rs/tree/3bb4f538aa541591f2d448a48caf4847507ce861?format=markdown)
