Email mailbox parse

email-mailbox-parse · version 1.0.0 · Communications · free, no key needed

Parse one RFC 5322 mailbox into parts and canonical text, without a delivery claim.

Use when you need to: parse rfc 5322 mailbox · split mailbox display name into words · extract mailbox local part and domain.

Decide before calling

Read the versioned contract and the supported scope below. Reuse email-mailbox-parse@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-mailbox-parse@1.0.0 for parse rfc 5322 mailbox. 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:

{
  "mailbox": "John Doe <jdoe@machine.example>"
}

Response:

{
  "result": {
    "form": "name-addr",
    "local_part": "jdoe",
    "local_form": "dot-atom",
    "domain": "machine.example",
    "domain_form": "dot-atom",
    "display_name": "John Doe",
    "display_words": [
      {
        "form": "atom",
        "text": "John"
      },
      {
        "form": "atom",
        "text": "Doe"
      }
    ],
    "comment_count": 0,
    "canonical": "John Doe <jdoe@machine.example>",
    "utf8_mode": false
  }
}

How to call it

MCP

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

{
  "id": "email-mailbox-parse",
  "version": "1.0.0",
  "input": {
    "mailbox": "John Doe <jdoe@machine.example>"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/email-mailbox-parse/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"mailbox":"John Doe <jdoe@machine.example>"}'

The machine-readable contract is at /v1/tools/email-mailbox-parse/versions/1.0.0.

CLI

node cli.mjs run email-mailbox-parse 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.