Put a trusted gateway between the agent and each external API. The model calls a named tool with structured arguments, and the gateway pulls the right credential from a vault, adds it to the request, and sends back the result. Give each tool a token that can access only the endpoints it actually needs, and deny requests to every other destination. A malicious email can still tell the agent to do something stupid, but it can’t make the model reveal a token it never receives.