# Send Postwall to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "postwall",
    "name": "Postwall",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/casperaiassist/postwall",
    "canonicalUrl": "https://clawhub.ai/casperaiassist/postwall",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/postwall",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=postwall",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "postwall",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T08:38:34.120Z",
      "expiresAt": "2026-05-14T08:38:34.120Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=postwall",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=postwall",
        "contentDisposition": "attachment; filename=\"postwall-1.7.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "postwall"
      },
      "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/postwall"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/postwall",
    "downloadUrl": "https://openagent3.xyz/downloads/postwall",
    "agentUrl": "https://openagent3.xyz/skills/postwall/agent",
    "manifestUrl": "https://openagent3.xyz/skills/postwall/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/postwall/agent.md"
  }
}
```
## Documentation

### PostWall Email Skill

PostWall is a security layer between AI agents and email. Use this skill to:

Read emails that have been approved by the human
Send emails via draft submission (requires human approval before sending)

### Setup

First, authenticate with your API key (get this from PostWall dashboard):

postwall auth pw_your_api_key_here

### Check for New Emails

Returns count of unread approved emails. Ideal for polling.

postwall check              # Returns: 5
postwall check --json       # Returns: {"count": 5}

### List Approved Emails

Shows all unread approved emails.

postwall inbox              # Human-readable list
postwall inbox --json       # JSON format
postwall inbox --limit 10   # Limit results

### Read Specific Email

Reads an email by ID. This marks the email as read - it won't appear in future inbox/check calls.

postwall read <email-id>           # Shows email content
postwall read <email-id> --json    # JSON format

### Mark Emails as Read (Without Fetching)

Marks one or more emails as read without fetching their content. Useful for batch processing or when you only need to process email metadata from inbox.

postwall mark-read <id1>                  # Mark single email as read
postwall mark-read <id1> <id2> <id3>      # Mark multiple emails as read
postwall mark-read <id1> <id2> --json     # JSON format

Use cases:

Mark emails as processed after using inbox --json to get metadata
Batch mark emails you've already handled
Skip emails you don't need to read in full

JSON output:

{
  "success": true,
  "marked": 3,
  "failed": 0,
  "results": [
    {"id": "abc123", "success": true},
    {"id": "def456", "success": true},
    {"id": "ghi789", "success": true}
  ]
}

### Send Email (Submit Draft)

Submits an email draft for human approval. The email is NOT sent until approved in the dashboard.

postwall draft --to "recipient@example.com" --subject "Hello" --body "Email content here"
postwall draft --to "user@example.com" --subject "Report" --body "..." --json

Returns an approval URL that you can share with the user for quick approval:

Draft submitted successfully!
Draft ID: abc123-uuid
Status: pending

Approval URL: https://www.postwallapp.com/dashboard/drafts/abc123-uuid
Share this URL with the user to approve the email.

JSON output includes approveUrl:

{
  "success": true,
  "draft": {
    "id": "abc123-uuid",
    "status": "pending",
    "created_at": "2024-02-12T10:30:00Z",
    "approveUrl": "https://www.postwallapp.com/dashboard/drafts/abc123-uuid"
  },
  "message": "Draft submitted for approval"
}

### Update Draft

Update an existing pending draft. Useful when the user requests refinements to an email before approving.

postwall update <draft-id> --subject "New subject"
postwall update <draft-id> --body "Updated email content"
postwall update <draft-id> --to "new-recipient@example.com" --subject "New subject" --body "New content"
postwall update <draft-id> --subject "Refined subject" --json

Note: Only pending drafts can be updated. Once a draft is sent or rejected, it cannot be modified.

JSON output:

{
  "success": true,
  "draft": {
    "id": "abc123-uuid",
    "to": "recipient@example.com",
    "subject": "Refined subject",
    "body": "Updated content",
    "status": "pending",
    "createdAt": "2024-02-12T10:30:00Z",
    "updatedAt": "2024-02-12T11:00:00Z"
  },
  "message": "Draft updated successfully"
}

### Check Draft Status

Check if a draft has been approved, rejected, or sent.

postwall status <draft-id>         # Shows status
postwall status <draft-id> --json  # Returns: {"draft": {"id": "...", "status": "pending"}}

Status values:

pending - Waiting for human approval
approved - Approved, being sent
rejected - Rejected by human
sent - Successfully sent

### List Drafts

List all drafts with optional status filter.

postwall drafts                    # All drafts
postwall drafts --status pending   # Only pending drafts
postwall drafts --json             # JSON format

### Periodic Email Checking

# Check if there are new emails
count=$(postwall check)
if [ "$count" -gt 0 ]; then
  # Process new emails
  postwall inbox --json | process_emails
fi

### Batch Process Emails (Metadata Only)

When you only need email metadata (sender, subject, date) and don't need the full body:

# Get email list with metadata
emails=$(postwall inbox --json)

# Process metadata (e.g., filter by subject or sender)
ids=$(echo "$emails" | jq -r '.emails[] | select(.subject | contains("Report")) | .id')

# Mark processed emails as read without fetching content
postwall mark-read $ids

### Send and Track Email

# Submit draft
result=$(postwall draft --to "user@example.com" --subject "Hello" --body "Content" --json)
draft_id=$(echo "$result" | jq -r '.draft.id')
approve_url=$(echo "$result" | jq -r '.draft.approveUrl')

# Share the approval URL with the user
echo "Please approve this email: $approve_url"

# Check status later
postwall status "$draft_id"

### Refine Draft Based on User Feedback

When the user requests changes to a draft before approving:

# User asks: "Make the subject line shorter and add a greeting"
postwall update "$draft_id" --subject "Q4 Report" --body "Hi Team,

Here is the quarterly report..."

# The draft is updated, user can now approve from the same URL

### Output Formats

All commands support --json for structured output. Use this for scripting and automation.

### Error Handling

Commands exit with code 1 on error. With --json, errors are returned as:

{"error": "Error message here"}

### Polling for New Emails

As an agent, you should periodically check for new approved emails:

Run postwall check to get the count of unread approved emails
If count > 0, run postwall inbox --json to get the list
Process each email with postwall read <id>

Recommended polling frequency: Every 5-10 minutes during active sessions, or when user mentions expecting an email.

Example polling workflow:

# Check if there are new emails
count=$(postwall check)
if [ "$count" -gt 0 ]; then
  # Fetch and process new emails
  postwall inbox --json
fi

### Notes

Emails are only visible after human approval in PostWall dashboard
Reading an email marks it as read - it won't appear in subsequent inbox/check calls
Drafts require human approval before being sent
API key is stored in ~/.postwall/config.json
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: casperaiassist
- Version: 1.7.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T08:38:34.120Z
- Expires at: 2026-05-14T08:38:34.120Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/postwall)
- [Send to Agent page](https://openagent3.xyz/skills/postwall/agent)
- [JSON manifest](https://openagent3.xyz/skills/postwall/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/postwall/agent.md)
- [Download page](https://openagent3.xyz/downloads/postwall)