77trust / 100

Mailbox Archive

by format.halowerk.com in Email & messaging

x402 APIPassing, checked 13 h ago

Split an MBOX mailbox into individual EML files plus a CSV/JSON index (date, sender, recipients, subject, Message-ID, size, SHA-256, attachments, duplicates) and a SHA-256 manifest, packed as ZIP; optional PDF per message. Splits at "From " separator lines that follow an empty line, removes one ">" from escaped ">From " lines (mboxrd, default) or only from ">From " (mboxo), keeps every message byte-exact otherwise and stores it as messages/NNNNNN.eml.

POST
https://format.halowerk.com/v1/mailbox-archive
Price
$0.006
per call in USDC
Uptime
95.7%
last 30 days
Response time
129 ms
199 ms slowest 5%
Last check
Passed
13 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://format.halowerk.com/v1/mailbox-archive

Each call costs $0.006 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://format.halowerk.com/v1/mailbox-archive
content-type: application/json

{
  "mbox": "From [email protected] Mon Nov  2 09:00:00 2026\nFrom: [email protected]\nSubject: Test\nDate: Mon, 02 Nov 2026 09:00:00 +0100\n\nHello\n"
}

Parameters

ParameterTypeRequiredDescription
include_pdfbooleanNo Default: false.
mboxstringNo
mbox_base64stringNo
variantstringNo One of: mboxrd, mboxo. Default: "mboxrd".

Example response

The provider's example. We can't check it without paying. Shortened for display.

Example response, 40 lines
{
  "limitations": [
    "Mailboxes whose bodies contain unescaped \"From \" lines after an empty line are split there (classic mboxo ambiguity).",
    "Messages are stored as found in the mailbox (line endings unchanged)."
  ],
  "result": {
    "date_range": {
      "first": "2026-11-02T08:00:00.000Z",
      "last": "2026-11-02T08:00:00.000Z"
    },
    "duplicates": 0,
    "index": [
      {
        "attachments": 0,
        "date": "Mon, 02 Nov 2026 09:00:00 +0100",
        "date_iso": "2026-11-02T08:00:00.000Z",
        "duplicate_of": null,
        "envelope": "[email protected] Mon Nov  2 09:00:00 2026",
        "file": "messages/000001.eml",
        "from": "[email protected]",
        "message_id": null,
        "n": 1,
        "parse_error": null,
        "pdf": null,
        "sha256": "6f8c8527ed3d3bdd3d04f705c67b6bcc35e18a37a9ca2c4c7bf7b08d2a025bed",
        "size": 80,
        "subject": "Test",
        "to": null
      }
    ],
    "messages": 1,
    "source_sha256": "4d5450a09fe6290fa67c0ad4cb36afe75ea0f5af9631b84f196e9f1a636ab8a6",
    "variant": "mboxrd",
    "zip_base64": "UEsDBAoAAAAIAAAAIezU8Th7UAAAAFAAAAATAAAAbWVzc2FnZXMvMDAwMDAxLmVtbHMrys+1Ukh0yEjMyS9PLcrWS87P5QouTcpKTS6xUghJLS7hckksSbVS8M3P01EwMFLwyy9TMDIwMlMwsLQyMAAiBW0DQwMDLi6P1JycfC4AUEsDBAoAAAAIAAAAIezAu5HkrwAAAN4AAAAJAAAAaW5kZXguY3N2NY3NTgMxEIPvlfom7jLJNj9w4iF64oImkwm7sNugJhUST096wLJ8+WT7irJuisxd39dWUW51R69o9/Sp0rFra/wxWEZbfxVtYes8uHeWZddrb8j3722Vx0Atx4P5r7QneshMum+wZP3JmBPZC8UXouFpwDfw68Jb/dHb1yTjGRdtHYgEX6JEZ4PmOc8pj6RzCeTEh+STyOzURJ4DPwtbOUtIJSSK2TJZlzSDcDz8AVBLAwQKAAAACAAAACHsaG60wRQBAADoAQAACgAAAGluZGV4Lmpzb25lkc1OxCAQx+/7FKRXd+uUbkt3T76AnvakMQ0fU1ulpSl0TTS+u9AtUVcChJn5/WcGeNoQ8ukXIcmQHEm2vZybTqM3kx6t5S9obyGMLMVeJysyqsYTw6z16sDhjNqMi47ftVybd5zeUml6cm8G8mDOhFAChyOAn4QCLWMuxd0i89yWAF3YEP+hbyAD+I3XnTVBErBdlu2AnqC6wKlv9TGyzWT6/x3FqDN/72Bn8YrSBcEJrYvY+gx1p67w7iP0XUG0W06LMqjLppJVQRmqXOVC+R32DYNClkyUQsq8wKziOeMHyancSyYaJqBSlAMtBKpYmTvHZdvj4KxPG+uoedSdDK9grj5h5JPFGqfJTGvA+782z99QSwMECgAAAAgAAAAh7EAYprimAAAA7wAAABMAAABtYW5pZmVzdC1zaGEyNTYudHh0NY07TgRBDETzPcWcYLHb47b7OP4iELsEIyGOT29ABZXU06vZGspDKin…",
    "zip_bytes": 1137,
    "zip_sha256": "ee2decfb9cd139c47d94d2a478f7364caf5aa4ad4b2caec9c718e18fa89bdc3f"
  },
  "service": "mailbox-archive",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.006.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://format.halowerk.com/v1/mailbox-archive' \
  -H 'content-type: application/json' \
  --data-raw '{"mbox":"From [email protected] Mon Nov  2 09:00:00 2026\nFrom: [email protected]\nSubject: Test\nDate: Mon, 02 Nov 2026 09:00:00 +0100\n\nHello\n"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://format.halowerk.com/v1/mailbox-archive' \
  -H 'content-type: application/json' \
  --data-raw '{"mbox":"From [email protected] Mon Nov  2 09:00:00 2026\nFrom: [email protected]\nSubject: Test\nDate: Mon, 02 Nov 2026 09:00:00 +0100\n\nHello\n"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.006 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.006" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.006 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fformat.halowerk.com%2Fv1%2Fmailbox-archive&method=POST
const res = await pay("https://format.halowerk.com/v1/mailbox-archive", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "mbox": "From [email protected] Mon Nov  2 09:00:00 2026\nFrom: [email protected]\nSubject: Test\nDate: Mon, 02 Nov 2026 09:00:00 +0100\n\nHello\n"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.006 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.006"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://format.halowerk.com/v1/mailbox-archive",
        json={
            "mbox": "From [email protected] Mon Nov  2 09:00:00 2026\nFrom: [email protected]\nSubject: Test\nDate: Mon, 02 Nov 2026 09:00:00 +0100\n\nHello\n",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
13 h agoPassed402170 ms$0.006
2 days agoTimed out---
4 days agoPassed402123 ms$0.006
4 days agoPassed402146 ms$0.006
5 days agoPassed40239 ms$0.006
Show 10 older checks
5 days agoPassed40240 ms$0.006
5 days agoPassed402199 ms$0.006
6 days agoPassed402131 ms$0.006
6 days agoPassed402140 ms$0.006
6 days agoPassed40239 ms$0.006
7 days agoPassed402159 ms$0.006
7 days agoPassed402127 ms$0.006
7 days agoPassed402181 ms$0.006
8 days agoPassed402221 ms$0.006
8 days agoPassed402129 ms$0.006