Skip to content
Fourohtwo

agent402.tools/api/email-guard

Read one email the way an agent that triages mail should before acting on it: observations with evidence and offsets, no score and no verdict. Send the raw RFC 5322 message (multipart, base64 and quoted-printable decoded, 1 MB cap) or the parts you already hold (subject, from, replyTo, html, text, links).

SolanaBaseUnchecked
POSThttps://agent402.tools/api/email-guard

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/email-guard", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"raw":"From: \"Accounts\" <billing@example.com>\r\nReply-To: accounts@example.net\r\nTo: you@example.org\r\nSubject: Invoice 4821 is ready\r\nMIME-Version: 1.0\r\nContent-Type: multipart/alternative; boundary=\"b1\"\r\n\r\n--b1\r\nContent-Type: text/plain; charset=utf-8\r\n\r\nYour invoice 4821 is ready. View it at https://example.com/invoices/4821\r\n--b1\r\nContent-Type: text/html; charset=utf-),
});
console.log(await res.json());

Example input

{"raw":"From: \"Accounts\" <billing@example.com>\r\nReply-To: accounts@example.net\r\nTo: you@example.org\r\nSubject: Invoice 4821 is ready\r\nMIME-Version: 1.0\r\nContent-Type: multipart/alternative; boundary=\"b1\"\r\n\r\n--b1\r\nContent-Type: text/plain; charset=utf-8\r\n\r\nYour invoice 4821 is ready. View it at https://example.com/invoices/4821\r\n--b1\r\nContent-Type: text/html; charset=utf-