Skip to content

docs: say the email agent supports Gmail or Outlook, not just Gmail - #4328

Merged
kovtcharov-amd merged 1 commit into
amd:mainfrom
kovtcharov:claude/claude-md-email-outlook
Sep 25, 2026
Merged

kovtcharov-amd merged 1 commit into
amd:mainfrom
kovtcharov:claude/claude-md-email-outlook

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

CLAUDE.md's agent table and CLI command list described EmailTriageAgent as Gmail-only, but it triages Gmail or Outlook (personal or Microsoft 365) per its manifest (hub/agents/email/python/gaia-agent.yaml) and README, and a Microsoft connector ships alongside the Google one. The email tool mixin row on the same page already said "Gmail / Outlook" — these were the only two stale lines.

Two-line wording fix, no behavior change.

Note: open issue #3329 plans to fold inbox triage into the flagship agent and retire the email agent as a separate agent — this PR intentionally doesn't touch anything beyond the two stale lines named in #4251.

Checked #4176 and #4108 (both open PRs touching CLAUDE.md's agent table) — neither modifies the EmailTriageAgent row, though #4108 edits the adjacent ChatAgent row in the same hunk, so there's a small merge-order risk worth flagging to a reviewer.

Test plan

  • grep -n "Email triage for Gmail" CLAUDE.md — both lines now say "Gmail or Outlook"
  • Verified against hub/agents/email/python/gaia-agent.yaml and hub/agents/email/npm/README.md

Fixes #4251

CLAUDE.md's agent table and CLI command list called EmailTriageAgent
"Gmail (... needs the Google connector)", but it triages Gmail or Outlook
(personal or Microsoft 365) per its manifest and README, and a Microsoft
connector ships alongside the Google one. The email tool mixin row on the
same page already said "Gmail / Outlook" — these were the only two stale
lines.

Fixes amd#4251
@github-actions github-actions Bot added the devops DevOps/infrastructure changes label Sep 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

Two stale lines in CLAUDE.md said the email agent only handles Gmail; it has handled Outlook (personal and Microsoft 365) for a while, and a Microsoft connector ships alongside the Google one. Both edits check out against the agent's manifest, its README, and the connector code, so the correction is right and the scope is clean.

One thing worth knowing: the same stale "Gmail only / Google connector" claim is still live in two places a user actually reads — the CLI reference page for the email command, and the gaia email --help text itself. Those aren't a regression from this PR and don't need to block it, but an Outlook user following either one today will be told to connect Google. Worth a quick follow-up, or folding in here since it's the same one-line wording fix.

Real-world evidence

N/A — docs-only change to a contributor-facing guidance file; no runnable surface to exercise, and no evidence bundle was produced for this PR. The verdict rests on static review: I cross-checked the new wording against hub/agents/email/python/gaia-agent.yaml, the agent README, and the Microsoft connector provider, and all three confirm Gmail-or-Outlook support.

🔍 Technical details

Issues

🟡 Same stale claim remains in the user-facing CLI surfaces (docs/reference/cli.mdx:912,932, src/gaia/cli.py:1343)

Pre-existing, not introduced here, so not a merge blocker — but CLAUDE.md's "a functional change must update EVERY doc that describes it" points at exactly this cluster, and the --help string is higher-traffic than CLAUDE.md. The card blurb says "reply to Gmail", the Setup line says "requires the Google connector", and argparse help repeats both.

src/gaia/cli.py:1341-1344:

            "Email Triage Agent — read, organize, and reply to Gmail or "
            "Outlook with all body inference running locally on Lemonade. "
            "Requires the Google or Microsoft connector to be configured "
            "(Settings → Connections)."

docs/reference/cli.mdx:932:

**Setup:** requires the Google or Microsoft connector. Run `gaia connectors connect google` (or `gaia connectors connect microsoft` / `microsoft_work`) first; you'll be asked to grant mail and calendar scopes.

Note microsoft (personal, consumers authority) and microsoft_work (Microsoft 365 / Entra) are separate connectors per docs/reference/cli.mdx:1405-1416 — "the Microsoft connector" in the CLAUDE.md rows is fine as a generic umbrella, but the setup instruction should name both.

Verification performed

  • hub/agents/email/python/gaia-agent.yaml:4 — "read, triage, organize, and reply to Gmail/Outlook locally"
  • hub/agents/email/npm/README.md:5 — "Gmail or Outlook (personal or work Microsoft 365)"
  • src/gaia/connectors/providers/microsoft.py exists with a catalog entry; config.py:247-263 resolves google / microsoft / microsoft_work mail and calendar backends
  • src/gaia/installer/init_command.py:143 already described the agent as "Gmail/Outlook", consistent with the new wording

Quarantine remaining Gmail-only (gaia_agent_email/contract.py:988) doesn't contradict the new rows — the rows describe triage generally, not per-tool parity.

Strengths

  • The fix is verified against the source of truth rather than assumed — the manifest and README both back the new wording, and the "email" tool-mixin row on the same page already said "Gmail / Outlook", so this removes a self-contradiction inside one file.
  • Tight scope with the merge-order risk against refactor(agents): retire chat/doc/file as selectable agents #4108 called out in the description up front, which is exactly what a reviewer needs to know about a same-hunk edit.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Sep 25, 2026
Merged via the queue into amd:main with commit 451c5d1 Sep 25, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps/infrastructure changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: CLAUDE.md describes the email agent as Gmail-only

2 participants