Email address list deduplicate

email-address-list-deduplicate · version 1.0.0 · Communications · free, no key needed

Drop duplicate mailboxes in an RFC 5322 address-list, keeping the first one.

Use when you need to: deduplicate an rfc 5322 address list · remove duplicate mailboxes and keep the first · unique addr-spec list that preserves groups.

Decide before calling

Read the versioned contract and the supported scope below. Reuse email-address-list-deduplicate@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use email-address-list-deduplicate@1.0.0 for deduplicate an rfc 5322 address list. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "A@Ex.COM, A@ex.com, a@ex.com",
  "mode": "ascii"
}

Response:

{
  "result": {
    "mode": "ascii",
    "canonical": "A@Ex.COM, a@ex.com",
    "address_count": 2,
    "mailbox_count": 2,
    "group_count": 0,
    "input_mailbox_count": 3,
    "removed_count": 1,
    "addresses": [
      {
        "kind": "mailbox",
        "display_name": "",
        "local_part": "A",
        "domain": "Ex.COM",
        "addr_spec": "A@Ex.COM"
      },
      {
        "kind": "mailbox",
        "display_name": "",
        "local_part": "a",
        "domain": "ex.com",
        "addr_spec": "a@ex.com"
      }
    ]
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "email-address-list-deduplicate",
  "version": "1.0.0",
  "input": {
    "text": "A@Ex.COM, A@ex.com, a@ex.com",
    "mode": "ascii"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/email-address-list-deduplicate/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"A@Ex.COM, A@ex.com, a@ex.com","mode":"ascii"}'

The machine-readable contract is at /v1/tools/email-address-list-deduplicate/versions/1.0.0.

CLI

node cli.mjs run email-address-list-deduplicate 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.