Agents Delete Sender Mail
by Sender Mail Delete by PayAPI in Email & messaging
Sender Mail Delete by PayAPI: Give the search and the clicks to delete every email from one sender in Gmail or Outlook.
https://payapi.market/house/agents/delete-sender-mail- Price
- $0.02
- per call in USDC
- Uptime
- 92.0%
- last 30 days
- Response time
- 255 ms
- 454 ms slowest 5%
- Last check
- Passed
- 6 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://payapi.market/house/agents/delete-sender-mail
Each call costs $0.02 in USDC on Polygon, 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://payapi.market/house/agents/delete-sender-mail
content-type: application/json
{
"client": "gmail",
"sender": "[email protected]"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
client | string | Yes | gmail, outlook_web, or outlook_desktop. One of: gmail, outlook_web, outlook_desktop. |
sender | string | Yes | An email address or a display name. No quotes. |
Example response
The provider's example. We can't check it without paying.
{
"client": "gmail",
"gmail_query": "from:[email protected]",
"limits": [
"These are search operators and clicks. Mail is gone once you delete it forever. This does not unsubscribe you, and it does not delete mail in another account."
],
"notes": [
"from: matches the From header. A display name and an address can differ, so search the address if you have it.",
"This does not unsubscribe you. A filter can file future mail, but that is a separate step.",
"Mail in another Google or Microsoft account is not touched."
],
"outlook_query": "from:[email protected]",
"query": "from:[email protected]",
"steps": [
"Open https://mail.google.com and sign in to the account you want to clear.",
"Click the search box and enter from:[email protected] then press Enter.",
"Tick the checkbox above the list. That selects the conversations on this page only.",
"If a banner says \"Select all conversations that match this search\", click it. If you skip it, only one page is deleted.",
"Click the Delete bin. The messages go to Trash and still count toward storage.",
"Open Trash, run the same search, select all, then Delete forever.",
"Trash otherwise keeps mail for about 30 days. Delete forever is the step that removes it."
]
}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.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://payapi.market/house/agents/delete-sender-mail' \
-H 'content-type: application/json' \
--data-raw '{"client":"gmail","sender":"[email protected]"}'
# 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://payapi.market/house/agents/delete-sender-mail' \
-H 'content-type: application/json' \
--data-raw '{"client":"gmail","sender":"[email protected]"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
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.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpayapi.market%2Fhouse%2Fagents%2Fdelete-sender-mail&method=POST
const res = await pay("https://payapi.market/house/agents/delete-sender-mail", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"client": "gmail",
"sender": "[email protected]"
}),
});
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.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://payapi.market/house/agents/delete-sender-mail",
json={
"client": "gmail",
"sender": "[email protected]",
},
)
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 6 h ago | Passed | 402 | 224 ms | $0.02 |
| 16 h ago | Passed | 402 | 280 ms | $0.02 |
| 26 h ago | Passed | 402 | 239 ms | $0.02 |
| 37 h ago | Passed | 402 | 221 ms | $0.02 |
| 46 h ago | Passed | 402 | 260 ms | $0.02 |
Show 10 older checks
| 2 days ago | Passed | 402 | 442 ms | $0.02 |
| 3 days ago | Timed out | - | - | - |
| 5 days ago | Timed out | - | - | - |
| 6 days ago | Passed | 402 | 412 ms | $0.02 |
| 7 days ago | Passed | 402 | 631 ms | $0.02 |
| 7 days ago | Passed | 402 | 220 ms | $0.02 |
| 7 days ago | Passed | 402 | 414 ms | $0.02 |
| 8 days ago | Passed | 402 | 373 ms | $0.02 |
| 8 days ago | Passed | 402 | 225 ms | $0.02 |
| 9 days ago | Passed | 402 | 239 ms | $0.02 |