A very common interface between Claude Code, as organizations use it, and the tools in their stack is the set of built-in, official Claude connectors for popular services. The Gmail connector is one example. It is a simple, secure and official way of using Claude in organizations that run on Google Workspace, and for home users via Gmail. However, it is not perfect.

I use Claude internally as one of my agentic platforms, with both custom and built-in connectors. Three groups of tools in the Gmail connector matter here:

  1. search_threads, which searches the mailbox and returns threads with summary metadata
  2. get_thread and get_message, which read a specific thread or message in full
  3. create_draft and send_message, which write and send on my behalf

I recently used Claude to draft and send an email to a contact I communicate with regularly, and for whom I have sent many Claude-drafted emails before. A day later I was surprised to find that the email had bounced. It was the first time this had happened, and once I looked at the bounced email I understood the probable issue: the address was missing its dot.

Claude had taken the address from the search tool and not from the previous emails. The search tool returns addresses with the dots removed, on every domain, and this is a publicly reported issue in the connector’s repository. When I asked Claude to verify the address, it ran the same search again and gave the same wrong address, without the dot.

Why this matters

Personal Gmail ignores dots. Every dotted variant reaches the same mailbox, meaning john.smith@gmail.com and johnsmith@gmail.com are the same Gmail address.

However, Google Workspace and many other email service providers, such as Microsoft 365, do not. If the real address is john.smith@company.com and I send to johnsmith@company.com, the email will not arrive.

Context management

This is an example of why context management is important. The agent did exactly what it was asked to do, with the context that its tool returned, and the context was wrong.

For organizations, the best way to make sure the context is accurate is a context management platform, either self-built or bought as a product. Its job is to make sure that the data handed to the agent is the correct data from the system of record, and not the result of separate searches that each user’s agent runs in its own way across the organization.

Centralizing how data is fetched, and how the agent works with the different systems in the stack, has an added benefit: it saves tokens. The tools search less and get more. The agent no longer needs to decide how to get the data, only what to do with it.

For smaller teams and home users, who rely on the built-in connectors alone, the answer is good system prompts and skills. These give the agent very clear instructions on the verifications required before it conducts an action, such as confirming a recipient address against a previous email before sending (via get_thread in our example, and not a search alone).

In both cases the point is the same. Even the built-in tools supplied with Claude cannot be relied on to be 100% accurate and efficient for every need - if you are a business user, Context Management is an important thing to develop and budget within your organization.