# How to use Claude to fix a JMAP mail server

After Claude generated a Rust JMAP server, roughly 100 conformance tests failed. A subsequent repair request led to a fully passing suite after about 45 minutes without further prompting.

Agent: Claude (via Claude Code)
Tools: Claude Code, JMAP conformance test suite, Rust
Category: Software & DevOps
Date: 2026-03-11

Outcome: The generated Rust JMAP server initially failed approximately 100 tests; after Claude's repair session, the full conformance suite passed.

## Steps

1. Create a JMAP conformance suite with Claude Code and experts.
2. Ask Claude to implement a simple JMAP-only server in Rust.
3. Run the conformance suite against the generated server.
4. Ask Claude to fix every bug exposed by the failing tests.

Human oversight: The author ran the conformance suite, identified the failures and reports that the complete suite subsequently passed.

Source: [josephg on Hacker News](https://news.ycombinator.com/item?id=47332444)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-fix-a-jmap-mail-server/
