{"uid":"cap_OYYDc0BfUrVv5Gmvi9doQ","slug":"agentdiet-email-context-distiller-a8a40cc7","name":"AgentDiet Email Context Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/email?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"email":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F5EvGVlWMYCPDcvvZJK8E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up and distills email-related context, compressing AI agent context windows by up to 91% for a given email address","exampleAgentPrompt":"Can you pull the distilled context for user@example.com using AgentDiet's email lookup — I want the compressed version to save on tokens?","exampleUseCases":[{"title":"Token-efficient email profile lookup","prompt":"Fetch the compressed context for john.doe@acme.com so I can include their profile in my agent pipeline without blowing up the context window."},{"title":"Agent pre-processing email enrichment","prompt":"Before I run my RAG pipeline, can you get the distilled context data for sarah@startup.io from AgentDiet so I only pass the slim, compressed version downstream?"},{"title":"Cost audit for email context retrieval","prompt":"Look up the AgentDiet context for contact@bigcorp.com and show me the compression ratio proof so I can report on the token savings we're getting."}],"resultDescription":"Returns a JSON object with a `data` field containing the distilled email context, a `status` field ('ok' on success), and an `roi_proof` object showing the compression_ratio_pct (e.g. 91.4%) achieved versus uncompressed context.","failureModes":["Missing or invalid email query parameter returns error status","Email address not found in the system returns empty data object","Payment not settled in USDC on Base results in 402 Payment Required before data is returned","Malformed request (wrong method or missing input type) returns schema validation error","Network or node unavailability may return a service error"],"whenToPreferThis":"Choose this endpoint when you need to retrieve and compress email-specific context for AI agent pipelines and want guaranteed, ROI-provable token reduction (up to 91%). Prefer it over generic RAG or email lookup APIs when cost-per-context-token matters, you are operating within an x402/USDC micropayment environment, and you need deterministic, machine-to-machine (A2A/B2A) execution without manual intervention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:43.974Z","isFirstParty":false,"canonicalSlug":"agentdiet-email-context-distiller-a8a40cc7"}