Email address list format

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

Format mailboxes and groups as one deterministic RFC 5322 address-list.

Use when you need to: format an rfc 5322 address list · render structured mailboxes as a recipient list · write a canonical to header from mailboxes and groups.

Decide before calling

Read the versioned contract and the supported scope below. Reuse email-address-list-format@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-format@1.0.0 for format 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:

{
  "mode": "ascii",
  "addresses": [
    {
      "kind": "mailbox",
      "display_name": "Mary Smith",
      "local_part": "mary",
      "domain": "x.test"
    }
  ]
}

Response:

{
  "result": {
    "mode": "ascii",
    "text": "Mary Smith <mary@x.test>",
    "address_count": 1,
    "mailbox_count": 1,
    "group_count": 0
  }
}

How to call it

MCP

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

{
  "id": "email-address-list-format",
  "version": "1.0.0",
  "input": {
    "mode": "ascii",
    "addresses": [
      {
        "kind": "mailbox",
        "display_name": "Mary Smith",
        "local_part": "mary",
        "domain": "x.test"
      }
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/email-address-list-format/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"mode":"ascii","addresses":[{"kind":"mailbox","display_name":"Mary Smith","local_part":"mary","domain":"x.test"}]}'

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

CLI

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

Get the client at /clients/cli/.