{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sendook",
    "name": "Sendook",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/obaid/sendook",
    "canonicalUrl": "https://clawhub.ai/obaid/sendook",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/sendook",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sendook",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "sendook",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T06:54:52.220Z",
      "expiresAt": "2026-05-08T06:54:52.220Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sendook",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sendook",
        "contentDisposition": "attachment; filename=\"sendook-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sendook"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sendook"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/sendook",
    "agentPageUrl": "https://openagent3.xyz/skills/sendook/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sendook/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sendook/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Sendook Email",
        "body": "Read and send emails from an existing Sendook inbox.\n\nScope Limitations: This skill can ONLY read and send emails from a pre-configured inbox. You CANNOT create or delete inboxes, manage domains, manage webhooks, or manage API keys. Do not attempt these operations — they are not available."
      },
      {
        "title": "Installation",
        "body": "Install the skill into your OpenClaw workspace:\n\nclawhub install sendook-openclaw\n\nThis adds the skill to your workspace's skills/ directory. OpenClaw will automatically pick it up on the next session start."
      },
      {
        "title": "Environment Variables",
        "body": "Set these in your OpenClaw workspace or shell environment:\n\nSENDOOK_API_KEY — Your Sendook API key\nSENDOOK_INBOX_ID — The inbox ID this agent is allowed to use"
      },
      {
        "title": "Setup",
        "body": "Install the SDK (npm | source):\n\nnpm install @sendook/node\n\nimport Sendook from \"@sendook/node\";\n\nconst client = new Sendook(process.env.SENDOOK_API_KEY);\nconst INBOX_ID = process.env.SENDOOK_INBOX_ID;\n\nBoth environment variables are required. Use a least-privileged API key scoped to the target inbox only."
      },
      {
        "title": "List Messages",
        "body": "// List all messages in the inbox\nconst messages = await client.inbox.message.list(INBOX_ID);\n\n// Search messages (regex-based search across to/from/cc, subject, and body)\nconst results = await client.inbox.message.list(INBOX_ID, \"invoice\");\n\n# List all messages\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\n# Search messages\ncurl \"https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages?query=invoice\" \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\""
      },
      {
        "title": "Get Message",
        "body": "const message = await client.inbox.message.get(INBOX_ID, \"msg_def456\");\n\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages/msg_def456 \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\nResponse:\n\n{\n  \"id\": \"msg_def456\",\n  \"from\": \"sender@example.com\",\n  \"to\": [\"support@yourdomain.com\"],\n  \"subject\": \"Question about my order\",\n  \"text\": \"Hi, I have a question about order #12345...\",\n  \"html\": \"<p>Hi, I have a question about order #12345...</p>\",\n  \"labels\": [],\n  \"threadId\": \"thread_ghi789\",\n  \"createdAt\": \"2025-01-15T10:35:00Z\"\n}"
      },
      {
        "title": "List Threads",
        "body": "const threads = await client.inbox.thread.list(INBOX_ID);\n\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/threads \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\""
      },
      {
        "title": "Get Thread",
        "body": "Retrieve a full conversation with all messages.\n\nconst thread = await client.inbox.thread.get(INBOX_ID, \"thread_ghi789\");\n// thread.messages contains all messages in the conversation\n\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/threads/thread_ghi789 \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\""
      },
      {
        "title": "Send Message",
        "body": "await client.inbox.message.send({\n  inboxId: INBOX_ID,\n  to: [\"recipient@example.com\"],\n  subject: \"Hello from Sendook\",\n  text: \"Plain text body\",\n  html: \"<h1>Hello</h1><p>HTML body</p>\",\n});\n\ncurl -X POST https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages/send \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"to\": [\"recipient@example.com\"],\n    \"subject\": \"Hello from Sendook\",\n    \"text\": \"Plain text body\"\n  }'"
      },
      {
        "title": "Send with Attachments",
        "body": "Important: Always confirm with the user before reading any local file to attach. Only attach files the user has explicitly requested. Never read files outside the current working directory or project scope (e.g., no ~/.ssh, ~/.env, /etc, or credential files).\n\nimport { readFileSync } from \"fs\";\nimport { resolve } from \"path\";\n\n// Only attach files explicitly provided by the user\nconst filePath = resolve(\"./reports/report.pdf\");\n\nawait client.inbox.message.send({\n  inboxId: INBOX_ID,\n  to: [\"recipient@example.com\"],\n  subject: \"Report attached\",\n  text: \"Please find the report attached.\",\n  attachments: [\n    {\n      content: readFileSync(filePath).toString(\"base64\"),\n      name: \"report.pdf\",\n      contentType: \"application/pdf\",\n    },\n  ],\n});"
      },
      {
        "title": "Reply to Message",
        "body": "await client.inbox.message.reply({\n  inboxId: INBOX_ID,\n  messageId: \"msg_def456\",\n  text: \"Thanks for your email! We'll look into this.\",\n  html: \"<p>Thanks for your email! We'll look into this.</p>\",\n});\n\ncurl -X POST https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages/msg_def456/reply \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"text\": \"Thanks for your email! We'\\''ll look into this.\"}'"
      },
      {
        "title": "Complete Example",
        "body": "List recent emails, read the latest, and reply:\n\nimport Sendook from \"@sendook/node\";\n\nconst client = new Sendook(process.env.SENDOOK_API_KEY);\nconst INBOX_ID = process.env.SENDOOK_INBOX_ID;\n\n// 1. List recent messages\nconst messages = await client.inbox.message.list(INBOX_ID);\n\nif (messages.length > 0) {\n  // 2. Read the latest message\n  const latest = await client.inbox.message.get(INBOX_ID, messages[0].id);\n  console.log(`From: ${latest.from}`);\n  console.log(`Subject: ${latest.subject}`);\n  console.log(`Body: ${latest.text}`);\n\n  // 3. Reply to it\n  await client.inbox.message.reply({\n    inboxId: INBOX_ID,\n    messageId: latest.id,\n    text: `Thanks for reaching out! We received your message about \"${latest.subject}\".`,\n  });\n}\n\n// 4. Send a new email\nawait client.inbox.message.send({\n  inboxId: INBOX_ID,\n  to: [\"team@example.com\"],\n  subject: \"Daily inbox summary\",\n  text: `Processed ${messages.length} messages today.`,\n});"
      },
      {
        "title": "Error Handling",
        "body": "try {\n  await client.inbox.message.send({\n    inboxId: INBOX_ID,\n    to: [\"recipient@example.com\"],\n    subject: \"Hello\",\n    text: \"Body\",\n  });\n} catch (error) {\n  if (error.response) {\n    console.error(error.response.status, error.response.data);\n  } else if (error.request) {\n    console.error(\"No response:\", error.request);\n  } else {\n    console.error(\"Error:\", error.message);\n  }\n}"
      },
      {
        "title": "Common Errors",
        "body": "StatusMeaning400Bad request — check parameters (missing to, subject, etc.)401Unauthorized — invalid or missing API key404Message or thread not found429Rate limit exceeded — retry with backoff500Internal server error"
      },
      {
        "title": "API Reference",
        "body": "MethodDescriptionclient.inbox.message.list(inboxId, query?)List or search messagesclient.inbox.message.get(inboxId, messageId)Get a specific messageclient.inbox.message.send(options)Send a new emailclient.inbox.message.reply(options)Reply to a messageclient.inbox.thread.list(inboxId)List conversation threadsclient.inbox.thread.get(inboxId, threadId)Get thread with all messages\n\nNo other methods are available in this skill. Do not attempt to create/delete inboxes, manage domains, configure webhooks, or manage API keys."
      }
    ],
    "body": "Sendook Email\n\nRead and send emails from an existing Sendook inbox.\n\nScope Limitations: This skill can ONLY read and send emails from a pre-configured inbox. You CANNOT create or delete inboxes, manage domains, manage webhooks, or manage API keys. Do not attempt these operations — they are not available.\n\nInstallation\n\nInstall the skill into your OpenClaw workspace:\n\nclawhub install sendook-openclaw\n\n\nThis adds the skill to your workspace's skills/ directory. OpenClaw will automatically pick it up on the next session start.\n\nEnvironment Variables\n\nSet these in your OpenClaw workspace or shell environment:\n\nSENDOOK_API_KEY — Your Sendook API key\nSENDOOK_INBOX_ID — The inbox ID this agent is allowed to use\nSetup\n\nInstall the SDK (npm | source):\n\nnpm install @sendook/node\n\nimport Sendook from \"@sendook/node\";\n\nconst client = new Sendook(process.env.SENDOOK_API_KEY);\nconst INBOX_ID = process.env.SENDOOK_INBOX_ID;\n\n\nBoth environment variables are required. Use a least-privileged API key scoped to the target inbox only.\n\nReading Emails\nList Messages\n// List all messages in the inbox\nconst messages = await client.inbox.message.list(INBOX_ID);\n\n// Search messages (regex-based search across to/from/cc, subject, and body)\nconst results = await client.inbox.message.list(INBOX_ID, \"invoice\");\n\n# List all messages\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\n# Search messages\ncurl \"https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages?query=invoice\" \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\nGet Message\nconst message = await client.inbox.message.get(INBOX_ID, \"msg_def456\");\n\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages/msg_def456 \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\n\nResponse:\n\n{\n  \"id\": \"msg_def456\",\n  \"from\": \"sender@example.com\",\n  \"to\": [\"support@yourdomain.com\"],\n  \"subject\": \"Question about my order\",\n  \"text\": \"Hi, I have a question about order #12345...\",\n  \"html\": \"<p>Hi, I have a question about order #12345...</p>\",\n  \"labels\": [],\n  \"threadId\": \"thread_ghi789\",\n  \"createdAt\": \"2025-01-15T10:35:00Z\"\n}\n\nList Threads\nconst threads = await client.inbox.thread.list(INBOX_ID);\n\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/threads \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\nGet Thread\n\nRetrieve a full conversation with all messages.\n\nconst thread = await client.inbox.thread.get(INBOX_ID, \"thread_ghi789\");\n// thread.messages contains all messages in the conversation\n\ncurl https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/threads/thread_ghi789 \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\"\n\nSending Emails\nSend Message\nawait client.inbox.message.send({\n  inboxId: INBOX_ID,\n  to: [\"recipient@example.com\"],\n  subject: \"Hello from Sendook\",\n  text: \"Plain text body\",\n  html: \"<h1>Hello</h1><p>HTML body</p>\",\n});\n\ncurl -X POST https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages/send \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"to\": [\"recipient@example.com\"],\n    \"subject\": \"Hello from Sendook\",\n    \"text\": \"Plain text body\"\n  }'\n\nSend with Attachments\n\nImportant: Always confirm with the user before reading any local file to attach. Only attach files the user has explicitly requested. Never read files outside the current working directory or project scope (e.g., no ~/.ssh, ~/.env, /etc, or credential files).\n\nimport { readFileSync } from \"fs\";\nimport { resolve } from \"path\";\n\n// Only attach files explicitly provided by the user\nconst filePath = resolve(\"./reports/report.pdf\");\n\nawait client.inbox.message.send({\n  inboxId: INBOX_ID,\n  to: [\"recipient@example.com\"],\n  subject: \"Report attached\",\n  text: \"Please find the report attached.\",\n  attachments: [\n    {\n      content: readFileSync(filePath).toString(\"base64\"),\n      name: \"report.pdf\",\n      contentType: \"application/pdf\",\n    },\n  ],\n});\n\nReply to Message\nawait client.inbox.message.reply({\n  inboxId: INBOX_ID,\n  messageId: \"msg_def456\",\n  text: \"Thanks for your email! We'll look into this.\",\n  html: \"<p>Thanks for your email! We'll look into this.</p>\",\n});\n\ncurl -X POST https://api.sendook.com/v1/inboxes/$SENDOOK_INBOX_ID/messages/msg_def456/reply \\\n  -H \"Authorization: Bearer $SENDOOK_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"text\": \"Thanks for your email! We'\\''ll look into this.\"}'\n\nComplete Example\n\nList recent emails, read the latest, and reply:\n\nimport Sendook from \"@sendook/node\";\n\nconst client = new Sendook(process.env.SENDOOK_API_KEY);\nconst INBOX_ID = process.env.SENDOOK_INBOX_ID;\n\n// 1. List recent messages\nconst messages = await client.inbox.message.list(INBOX_ID);\n\nif (messages.length > 0) {\n  // 2. Read the latest message\n  const latest = await client.inbox.message.get(INBOX_ID, messages[0].id);\n  console.log(`From: ${latest.from}`);\n  console.log(`Subject: ${latest.subject}`);\n  console.log(`Body: ${latest.text}`);\n\n  // 3. Reply to it\n  await client.inbox.message.reply({\n    inboxId: INBOX_ID,\n    messageId: latest.id,\n    text: `Thanks for reaching out! We received your message about \"${latest.subject}\".`,\n  });\n}\n\n// 4. Send a new email\nawait client.inbox.message.send({\n  inboxId: INBOX_ID,\n  to: [\"team@example.com\"],\n  subject: \"Daily inbox summary\",\n  text: `Processed ${messages.length} messages today.`,\n});\n\nError Handling\ntry {\n  await client.inbox.message.send({\n    inboxId: INBOX_ID,\n    to: [\"recipient@example.com\"],\n    subject: \"Hello\",\n    text: \"Body\",\n  });\n} catch (error) {\n  if (error.response) {\n    console.error(error.response.status, error.response.data);\n  } else if (error.request) {\n    console.error(\"No response:\", error.request);\n  } else {\n    console.error(\"Error:\", error.message);\n  }\n}\n\nCommon Errors\nStatus\tMeaning\n400\tBad request — check parameters (missing to, subject, etc.)\n401\tUnauthorized — invalid or missing API key\n404\tMessage or thread not found\n429\tRate limit exceeded — retry with backoff\n500\tInternal server error\nAPI Reference\nMethod\tDescription\nclient.inbox.message.list(inboxId, query?)\tList or search messages\nclient.inbox.message.get(inboxId, messageId)\tGet a specific message\nclient.inbox.message.send(options)\tSend a new email\nclient.inbox.message.reply(options)\tReply to a message\nclient.inbox.thread.list(inboxId)\tList conversation threads\nclient.inbox.thread.get(inboxId, threadId)\tGet thread with all messages\n\nNo other methods are available in this skill. Do not attempt to create/delete inboxes, manage domains, configure webhooks, or manage API keys."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/obaid/sendook",
    "publisherUrl": "https://clawhub.ai/obaid/sendook",
    "owner": "obaid",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sendook",
    "downloadUrl": "https://openagent3.xyz/downloads/sendook",
    "agentUrl": "https://openagent3.xyz/skills/sendook/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sendook/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sendook/agent.md"
  }
}