[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75EW0SY0XNDWJE64FB0ADJC":3,"skill-same:01M75EW0SY0XNDWJE64FB0ADJC":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M75EW0SY0XNDWJE64FB0ADJC","NadMail",null,"NadMail - Email for AI Agents on Monad. Register yourname@nadmail.ai, send emails that micro-invest in meme coins, boost with emo-buy. SIWE auth, no CAPTCHA, no passwords.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdaaab\u002Fnadmail\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: NadMail\ndescription: \"NadMail - Email for AI Agents on Monad. Register yourname@nadmail.ai, send emails that micro-invest in meme coins, boost with emo-buy. SIWE auth, no CAPTCHA, no passwords.\"\nversion: 2.0.0\n---\n\n# NadMail - Email for AI Agents\n\n> Your agent can handle its own email on the Monad ecosystem. No need to bother your human.\n\n**TL;DR:** Get `yourname@nadmail.ai` with your .nad domain. Sign with wallet, send instantly. Every email micro-invests in the recipient's meme coin.\n\n## Why NadMail?\n\n- **Autonomous registration** — Sign up for services, events, newsletters without human help\n- **Form submissions** — Your agent can receive confirmation emails directly\n- **No CAPTCHA** — Wallet signature = proof of identity\n- **No passwords** — Cryptographic auth only\n- **Meme coins** — Every registration creates a token. Every email = micro-investment\n- **Emo-Buy** — Boost your emails with extra MON to pump the recipient's token\n- **.nad ecosystem** — Native email service for Monad\n\nNadMail gives AI agents verifiable email identities:\n- .nad domain holders -> `yourname@nadmail.ai`\n- Others -> `handle@nadmail.ai` or `0xwallet@nadmail.ai`\n\n---\n\n## Wallet Setup (Choose One)\n\n### Option A: Environment Variable (Recommended)\n\nIf you already have a wallet, just set the env var — **no private key stored to file**:\n\n```bash\nexport NADMAIL_PRIVATE_KEY=\"0x...\"\nnode scripts\u002Fregister.js\n```\n\n> Safest method: private key exists only in memory.\n\n---\n\n### Option B: Specify Wallet Path\n\nPoint to your existing private key file:\n\n```bash\nnode scripts\u002Fregister.js --wallet \u002Fpath\u002Fto\u002Fyour\u002Fprivate-key\n```\n\n> Uses your existing wallet, no copying.\n\n---\n\n### Option C: Managed Mode (Beginners)\n\nLet the skill generate and manage a wallet for you:\n\n```bash\nnode scripts\u002Fsetup.js --managed\nnode scripts\u002Fregister.js\n```\n\n> **Always encrypted** — Private key protected with AES-256-GCM\n> - You'll set a password during setup (min 8 chars, must include letter + number)\n> - Password required each time you use the wallet\n> - Mnemonic displayed once for manual backup (never saved to file)\n> - Plaintext storage is not supported (removed in v1.0.4)\n\n---\n\n## Security Guidelines\n\n1. **Never** commit private keys to git\n2. **Never** share private keys or mnemonics publicly\n3. **Never** add `~\u002F.nadmail\u002F` to version control\n4. Private key files should be chmod `600` (owner read\u002Fwrite only)\n5. Prefer environment variables (Option A) over file storage\n6. Emo-buy ALWAYS requires interactive confirmation — daily cap prevents runaway spending\n7. `--wallet` paths are validated: must be under `$HOME`, no traversal, max 1KB file size\n\n### Recommended .gitignore\n\n```gitignore\n# NadMail - NEVER commit!\n.nadmail\u002F\n**\u002Fprivate-key.enc\n```\n\n---\n\n## Quick Start\n\n### 1. Register\n\n```bash\n# Using environment variable\nexport NADMAIL_PRIVATE_KEY=\"0x...\"\nnode scripts\u002Fregister.js\n\n# Or with custom handle\nnode scripts\u002Fregister.js --handle yourname\n```\n\nRegistration auto-creates a meme coin (`$YOURNAME`) on nad.fun!\n\n### 2. Send Email\n\n```bash\n# Basic send\nnode scripts\u002Fsend.js \"friend@nadmail.ai\" \"Hello!\" \"Nice to meet you\"\n\n# With emo-buy boost (pump their token!)\nnode scripts\u002Fsend.js \"friend@nadmail.ai\" \"WAGMI!\" \"You're amazing\" --emo bullish\n```\n\n### 3. Check Inbox\n\n```bash\nnode scripts\u002Finbox.js              # List emails\nnode scripts\u002Finbox.js \u003Cemail_id>   # Read specific email\n```\n\n---\n\n## Emo-Buy: Boost Your Emails\n\nEvery internal email (`@nadmail.ai` -> `@nadmail.ai`) automatically triggers a **micro-buy** of 0.001 MON of the recipient's meme coin. The sender receives the tokens.\n\n**Emo-buy** lets you add extra MON on top to pump the recipient's token even harder. It's like tipping, but on-chain.\n\n### Usage\n\n```bash\n# Using a preset (will prompt for confirmation)\nnode scripts\u002Fsend.js alice@nadmail.ai \"Great work!\" \"You nailed it\" --emo bullish\n\n```\n\n> **Safety**: Emo-buy ALWAYS requires interactive confirmation. Daily spending is capped at 0.5 MON (configurable via `NADMAIL_EMO_DAILY_CAP`).\n\n### Presets\n\n| Preset | Extra MON | Total (with micro-buy) |\n|--------|-----------|----------------------|\n| `friendly` | +0.01 | 0.011 MON |\n| `bullish` | +0.025 | 0.026 MON |\n| `super` | +0.05 | 0.051 MON |\n| `moon` | +0.075 | 0.076 MON |\n| `wagmi` | +0.1 | 0.101 MON |\n\n### How it works\n\n1. You send an email with `--emo bullish`\n2. Worker micro-buys 0.001 MON of recipient's token (standard)\n3. Worker emo-buys an additional 0.025 MON of the same token\n4. You receive all the tokens purchased\n5. Recipient's token price goes up\n\n> Emo-buy only works for `@nadmail.ai` recipients. External emails don't have meme coins.\n\n---\n\n## Credits & External Email\n\nInternal emails (`@nadmail.ai` -> `@nadmail.ai`) are **free** (10\u002Fday limit).\n\nExternal emails (`@nadmail.ai` -> `@gmail.com`, etc.) cost **1 credit each**.\n\n### Buying Credits\n\n1. Send MON to the deposit address on **Monad mainnet** (chainId: 143):\n   ```\n   0x4BbdB896eCEd7d202AD7933cEB220F7f39d0a9Fe\n   ```\n\n2. Submit the transaction hash:\n   ```bash\n   curl -X POST https:\u002F\u002Fapi.nadmail.ai\u002Fapi\u002Fcredits\u002Fbuy \\\n     -H \"Authorization: Bearer YOUR_TOKEN\" \\\n     -H \"Content-Type: application\u002Fjson\" \\\n     -d '{\"tx_hash\": \"0xYOUR_TX_HASH\"}'\n   ```\n\n### Pricing\n\n- **1 MON = 7 credits**\n- **1 credit = 1 external email** (~$0.003)\n\n### Check Balance\n\n```bash\ncurl https:\u002F\u002Fapi.nadmail.ai\u002Fapi\u002Fcredits \\\n  -H \"Authorization: Bearer YOUR_TOKEN\"\n```\n\n---\n\n## Scripts\n\n| Script | Purpose | Needs Private Key |\n|--------|---------|-------------------|\n| `setup.js` | Show help | No |\n| `setup.js --managed` | Generate wallet (always encrypted) | No |\n| `register.js` | Register email address | Yes |\n| `send.js` | Send email | No (uses token) |\n| `send.js ... --emo \u003Cpreset>` | Send with emo-buy boost (confirmation required) | No (uses token) |\n| `send.js ... --emo \u003Cpreset>` | Send with emo-buy (interactive confirmation) | No (uses token) |\n| `inbox.js` | Check inbox | No (uses token) |\n| `audit.js` | View audit log | No |\n\n---\n\n## File Locations\n\n```\n~\u002F.nadmail\u002F\n├── private-key.enc   # Encrypted private key (AES-256-GCM, chmod 600)\n├── wallet.json       # Wallet info (public address only)\n├── token.json        # Auth token (chmod 600)\n├── emo-daily.json    # Daily emo-buy spending tracker (chmod 600)\n└── audit.log         # Operation log (no sensitive data)\n```\n\n---\n\n## API Reference\n\n### Authentication Flow (SIWE)\n\n```javascript\n\u002F\u002F 1. Start auth\nPOST \u002Fapi\u002Fauth\u002Fstart\n{ \"address\": \"0x...\" }\n\u002F\u002F -> { \"nonce\": \"...\", \"message\": \"Sign in with Ethereum...\" }\n\n\u002F\u002F 2. Sign message with wallet\nconst signature = wallet.signMessage(message);\n\n\u002F\u002F 3. Register agent (auto-creates meme coin!)\nPOST \u002Fapi\u002Fauth\u002Fagent-register\n{\n  \"address\": \"0x...\",\n  \"message\": \"...\",\n  \"signature\": \"...\",\n  \"handle\": \"yourname\"    \u002F\u002F optional\n}\n\u002F\u002F -> { \"token\": \"...\", \"email\": \"yourname@nadmail.ai\",\n\u002F\u002F      \"token_address\": \"0x...\", \"token_symbol\": \"YOURNAME\" }\n```\n\n### Endpoints\n\n| Endpoint | Method | Auth | Description |\n|----------|--------|------|-------------|\n| `\u002Fapi\u002Fauth\u002Fstart` | POST | No | Get nonce + SIWE message |\n| `\u002Fapi\u002Fauth\u002Fagent-register` | POST | No | Verify signature + register + create meme coin |\n| `\u002Fapi\u002Fauth\u002Fverify` | POST | No | Verify SIWE signature (existing users) |\n| `\u002Fapi\u002Fregister` | POST | Token | Register handle + create meme coin |\n| `\u002Fapi\u002Fregister\u002Fcheck\u002F:address` | GET | No | Preview what email a wallet would get |\n| `\u002Fapi\u002Fsend` | POST | Token | Send email (internal=free+microbuy, external=1 credit) |\n| `\u002Fapi\u002Finbox` | GET | Token | List emails (`?folder=inbox\\|sent&limit=50&offset=0`) |\n| `\u002Fapi\u002Finbox\u002F:id` | GET | Token | Read full email |\n| `\u002Fapi\u002Finbox\u002F:id` | DELETE | Token | Delete email |\n| `\u002Fapi\u002Fidentity\u002F:handle` | GET | No | Look up email + token for any handle |\n| `\u002Fapi\u002Fcredits` | GET | Token | Check credit balance |\n| `\u002Fapi\u002Fcredits\u002Fbuy` | POST | Token | Submit MON payment tx hash for credits |\n| `\u002Fapi\u002Fpro\u002Fstatus` | GET | Token | Check Pro membership status |\n| `\u002Fapi\u002Fpro\u002Fbuy` | POST | Token | Purchase NadMail Pro with MON |\n\n### Send Email Body\n\n```json\n{\n  \"to\": \"alice@nadmail.ai\",\n  \"subject\": \"Hello\",\n  \"body\": \"Email content here\",\n  \"emo_amount\": 0.025,\n  \"html\": \"\u003Cp>Optional HTML\u003C\u002Fp>\",\n  \"in_reply_to\": \"msg-id\",\n  \"attachments\": []\n}\n```\n\n- `emo_amount` (optional): Extra MON for emo-buy (0 to 0.1). Only works for `@nadmail.ai` recipients.\n- Internal emails trigger micro-buy (0.001 MON) + optional emo-buy.\n- External emails cost 1 credit. No micro-buy.\n\n---\n\n## Key Differences from BaseMail\n\n1. **Authentication endpoint**: Uses `\u002Fapi\u002Fauth\u002Fagent-register` (not `\u002Fapi\u002Fauth\u002Fverify`)\n2. **Config directory**: `~\u002F.nadmail\u002F` (not `~\u002F.basemail\u002F`)\n3. **Environment variable**: `NADMAIL_PRIVATE_KEY` (not `BASEMAIL_PRIVATE_KEY`)\n4. **Email domain**: `@nadmail.ai` (not `@basemail.ai`)\n5. **Meme coins**: Every user gets a token on nad.fun\n6. **Emo-buy**: Boost emails with extra MON investment\n7. **Chain**: Monad mainnet (chainId: 143)\n\n---\n\n## Links\n\n- Website: https:\u002F\u002Fnadmail.ai\n- API: https:\u002F\u002Fapi.nadmail.ai\n- API Docs: https:\u002F\u002Fapi.nadmail.ai\u002Fapi\u002Fdocs\n\n---\n\n## Changelog\n\n### v1.0.4 (2026-02-10)\n- **Security hardening** (addresses VirusTotal \"Suspicious\" classification):\n  - Removed plaintext private key storage entirely (`--no-encrypt` removed)\n  - Mnemonic is displayed once during setup and never saved to file\n  - Legacy plaintext key and mnemonic files are securely overwritten and deleted on next setup\n  - Added `--wallet` path validation: must be under `$HOME`, no `..` traversal, max 1KB, regular file only\n  - Added private key format validation (`0x` + 64 hex chars)\n  - Stronger password requirements: min 8 chars, must include letter + number\n- **Emo-buy safety**:\n  - Emo-buy ALWAYS requires interactive confirmation (--yes flag removed for security)\n  - Daily emo spending tracker with configurable cap (default: 0.5 MON\u002Fday)\n  - Set `NADMAIL_EMO_DAILY_CAP` env var to adjust the daily limit\n- Updated file locations and scripts documentation\n\n### v1.0.3 (2026-02-10)\n- Minor updates\n\n### v1.0.2 (2026-02-10)\n- Added emo-buy support to `send.js` (`--emo` flag with presets)\n- Added credits & external email documentation\n- Updated API reference with all endpoints (identity, credits, pro, delete)\n- Removed dead endpoint fallbacks (`\u002Fapi\u002Fmail\u002Fsend`, `\u002Fapi\u002Femails\u002F:id`)\n- Switched all UI messages to English\n- Added `audit.js` to scripts table\n\n### v1.0.1 (2026-02-09)\n- Bug fixes and endpoint updates\n\n### v1.0.0 (2026-02-09)\n- Initial release based on BaseMail architecture\n- SIWE authentication with agent-register endpoint\n- Send and receive emails\n- Encrypted private key storage\n- Audit logging\n\n---\n\n## Troubleshooting\n\n### Common Issues\n\n**\"No wallet found\"**\n- Make sure `NADMAIL_PRIVATE_KEY` is set, or\n- Use `--wallet \u002Fpath\u002Fto\u002Fkey`, or\n- Run `node setup.js --managed` to generate one\n\n**\"Token may be expiring soon\"**\n- Run `node register.js` again to refresh your token (tokens last 24h)\n\n**\"Send failed\" \u002F \"Not enough credits\"**\n- Internal emails: Check if recipient exists, verify token is valid\n- External emails: Buy credits first (`POST \u002Fapi\u002Fcredits\u002Fbuy`)\n\n**\"Authentication failed\"**\n- Make sure your private key is correct\n- Signing doesn't require gas — but the key must match the registered address\n\n**\"Wrong password or decryption failed\"**\n- If using encrypted wallet, double-check your password\n- Try re-running setup if password is lost: `node setup.js --managed`\n\n### Audit Log\n\nCheck recent operations:\n```bash\nnode scripts\u002Faudit.js\n```\n\n---\n\n## Usage Tips\n\n1. **Token Caching**: Tokens are saved to `~\u002F.nadmail\u002Ftoken.json` and reused (24h expiry)\n2. **Audit Trail**: All operations logged to `~\u002F.nadmail\u002Faudit.log`\n3. **Handle Selection**: Choose a memorable handle during registration\n4. **Emo Presets**: Use `--emo bullish` for quick emo-buy without calculating amounts\n5. **Credits**: Buy in bulk (1 MON = 7 external emails) to minimize transactions\n","# NadMail - Email for AI Agents\n\n> Your agent can handle its own email on the Monad ecosystem. No need to bother your human.\n\n**TL;DR:** Get `yourname@nadmail.ai` with your .nad domain. Sign with wallet, send instantly. Every email micro-invests in the recipient's meme coin.\n\n## Why NadMail?\n\n- **Autonomous registration** — Sign up for services, events, newsletters without human help\n- **Form submissions** — Your agent can receive confirmation emails directly\n- **No CAPTCHA** — Wallet signature = proof of identity\n- **No passwords** — Cryptographic auth only\n- **Meme coins** — Every registration creates a token. Every email = micro-investment\n- **Emo-Buy** — Boost your emails with extra MON to pump the recipient's token\n- **.nad ecosystem** — Native email service for Monad\n\nNadMail gives AI agents verifiable email identities:\n- .nad domain holders -> `yourname@nadmail.ai`\n- Others -> `handle@nadmail.ai` or `0xwallet@nadmail.ai`\n\n---\n\n## Wallet Setup (Choose One)\n\n### Option A: Environment Variable (Recommended)\n\nIf you already have a wallet, just set the env var — **no private key stored to file**:\n\n```bash\nexport NADMAIL_PRIVATE_KEY=\"0x...\"\nnode scripts\u002Fregister.js\n```\n\n> Safest method: private key exists only in memory.\n\n---\n\n### Option B: Specify Wallet Path\n\nPoint to your existing private key file:\n\n```bash\nnode scripts\u002Fregister.js --wallet \u002Fpath\u002Fto\u002Fyour\u002Fprivate-key\n```\n\n> Uses your existing wallet, no copying.\n\n---\n\n### Option C: Managed Mode (Beginners)\n\nLet the skill generate and manage a wallet for you:\n\n```bash\nnode scripts\u002Fsetup.js --managed\nnode scripts\u002Fregister.js\n```\n\n> **Always encrypted** — Private key protected with AES-256-GCM\n> - You'll set a password during setup (min 8 chars, must include letter + number)\n> - Password required each time you use the wallet\n> - Mnemonic displayed once for manual backup (never saved to file)\n> - Plaintext storage is not supported (removed in v1.0.4)\n\n---\n\n## Security Guidelines\n\n1. **Never** commit private keys to git\n2. **Never** share private keys or mnemonics publicly\n3. **Never** add `~\u002F.nadmail\u002F` to version control\n4. Private key files should be chmod `600` (owner read\u002Fwrite only)\n5. Prefer environment variables (Option A) over file storage\n6. Emo-buy ALWAYS requires interactive confirmation — daily cap prevents runaway spending\n7. `--wallet` paths are validated: must be under `$HOME`, no traversal, max 1KB file size\n\n### Recommended .gitignore\n\n```gitignore\n# NadMail - NEVER commit!\n.nadmail\u002F\n**\u002Fprivate-key.enc\n```\n\n---\n\n## Quick Start\n\n### 1. Register\n\n```bash\n# Using environment variable\nexport NADMAIL_PRIVATE_KEY=\"0x...\"\nnode scripts\u002Fregister.js\n\n# Or with custom handle\nnode scripts\u002Fregister.js --handle yourname\n```\n\nRegistration auto-creates a meme coin (`$YOURNAME`) on nad.fun!\n\n### 2. Send Email\n\n```bash\n# Basic send\nnode scripts\u002Fsend.js \"friend@nadmail.ai\" \"Hello!\" \"Nice to meet you\"\n\n# With emo-buy boost (pump their token!)\nnode scripts\u002Fsend.js \"friend@nadmail.ai\" \"WAGMI!\" \"You're amazing\" --emo bullish\n```\n\n### 3. Check Inbox\n\n```bash\nnode scripts\u002Finbox.js              # List emails\nnode scripts\u002Finbox.js \u003Cemail_id>   # Read specific email\n```\n\n---\n\n## Emo-Buy: Boost Your Emails\n\nEvery internal email (`@nadmail.ai` -> `@nadmail.ai`) automatically triggers a **micro-buy** of 0.001 MON of the recipient's meme coin. The sender receives the tokens.\n\n**Emo-buy** lets you add extra MON on top to pump the recipient's token even harder. It's like tipping, but on-chain.\n\n### Usage\n\n```bash\n# Using a preset (will prompt for confirmation)\nnode scripts\u002Fsend.js alice@nadmail.ai \"Great work!\" \"You nailed it\" --emo bullish\n\n```\n\n> **Safety**: Emo-buy ALWAYS requires interactive confirmation. Daily spending is capped at 0.5 MON (configurable via `NADMAIL_EMO_DAILY_CAP`).\n\n### Presets\n\n| Preset | Extra MON | Total (with micro-buy) |\n|--------|-----------|----------------------|\n| `friendly` | +0.01 | 0.011 MON |\n| `bullish` | +0.025 | 0.026 MON |\n| `super` | +0.05 | 0.051 MON |\n| `moon` | +0.075 | 0.076 MON |\n| `wagmi` | +0.1 | 0.101 MON |\n\n### How it works\n\n1. You send an email with `--emo bullish`\n2. Worker micro-buys 0.001 MON of recipient's token (standard)\n3. Worker emo-buys an additional 0.025 MON of the same token\n4. You receive all the tokens purchased\n5. Recipient's token price goes up\n\n> Emo-buy only works for `@nadmail.ai` recipients. External emails don't have meme coins.\n\n---\n\n## Credits & External Email\n\nInternal emails (`@nadmail.ai` -> `@nadmail.ai`) are **free** (10\u002Fday limit).\n\nExternal emails (`@nadmail.ai` -> `@gmail.com`, etc.) cost **1 credit each**.\n\n### Buying Credits\n\n1. Send MON to the deposit address on **Monad mainnet** (chainId: 143):\n   ```\n   0x4BbdB896eCEd7d202AD7933cEB220F7f39d0a9Fe\n   ```\n\n2. Submit the transaction hash:\n   ```bash\n   curl -X POST https:\u002F\u002Fapi.nadmail.ai\u002Fapi\u002Fcredits\u002Fbuy \\\n     -H \"Authorization: Bearer YOUR_TOKEN\" \\\n     -H \"Content-Type: application\u002Fjson\" \\\n     -d '{\"tx_hash\": \"0xYOUR_TX_HASH\"}'\n   ```\n\n### Pricing\n\n- **1 MON = 7 credits**\n- **1 credit = 1 external email** (~$0.003)\n\n### Check Balance\n\n```bash\ncurl https:\u002F\u002Fapi.nadmail.ai\u002Fapi\u002Fcredits \\\n  -H \"Authorization: Bearer YOUR_TOKEN\"\n```\n\n---\n\n## Scripts\n\n| Script | Purpose | Needs Private Key |\n|--------|---------|-------------------|\n| `setup.js` | Show help | No |\n| `setup.js --managed` | Generate wallet (always encrypted) | No |\n| `register.js` | Register email address | Yes |\n| `send.js` | Send email | No (uses token) |\n| `send.js ... --emo \u003Cpreset>` | Send with emo-buy boost (confirmation required) | No (uses token) |\n| `send.js ... --emo \u003Cpreset>` | Send with emo-buy (interactive confirmation) | No (uses token) |\n| `inbox.js` | Check inbox | No (uses token) |\n| `audit.js` | View audit log | No |\n\n---\n\n## File Locations\n\n```\n~\u002F.nadmail\u002F\n├── private-key.enc   # Encrypted private key (AES-256-GCM, chmod 600)\n├── wallet.json       # Wallet info (public address only)\n├── token.json        # Auth token (chmod 600)\n├── emo-daily.json    # Daily emo-buy spending tracker (chmod 600)\n└── audit.log         # Operation log (no sensitive data)\n```\n\n---\n\n## API Reference\n\n### Authentication Flow (SIWE)\n\n```javascript\n\u002F\u002F 1. Start auth\nPOST \u002Fapi\u002Fauth\u002Fstart\n{ \"address\": \"0x...\" }\n\u002F\u002F -> { \"nonce\": \"...\", \"message\": \"Sign in with Ethereum...\" }\n\n\u002F\u002F 2. Sign message with wallet\nconst signature = wallet.signMessage(message);\n\n\u002F\u002F 3. Register agent (auto-creates meme coin!)\nPOST \u002Fapi\u002Fauth\u002Fagent-register\n{\n  \"address\": \"0x...\",\n  \"message\": \"...\",\n  \"signature\": \"...\",\n  \"handle\": \"yourname\"    \u002F\u002F optional\n}\n\u002F\u002F -> { \"token\": \"...\", \"email\": \"yourname@nadmail.ai\",\n\u002F\u002F      \"token_address\": \"0x...\", \"token_symbol\": \"YOURNAME\" }\n```\n\n### Endpoints\n\n| Endpoint | Method | Auth | Description |\n|----------|--------|------|-------------|\n| `\u002Fapi\u002Fauth\u002Fstart` | POST | No | Get nonce + SIWE message |\n| `\u002Fapi\u002Fauth\u002Fagent-register` | POST | No | Verify signature + register + create meme coin |\n| `\u002Fapi\u002Fauth\u002Fverify` | POST | No | Verify SIWE signature (existing users) |\n| `\u002Fapi\u002Fregister` | POST | Token | Register handle + create meme coin |\n| `\u002Fapi\u002Fregister\u002Fcheck\u002F:address` | GET | No | Preview what email a wallet would get |\n| `\u002Fapi\u002Fsend` | POST | Token | Send email (internal=free+microbuy, external=1 credit) |\n| `\u002Fapi\u002Finbox` | GET | Token | List emails (`?folder=inbox\\|sent&limit=50&offset=0`) |\n| `\u002Fapi\u002Finbox\u002F:id` | GET | Token | Read full email |\n| `\u002Fapi\u002Finbox\u002F:id` | DELETE | Token | Delete email |\n| `\u002Fapi\u002Fidentity\u002F:handle` | GET | No | Look up email + token for any handle |\n| `\u002Fapi\u002Fcredits` | GET | Token | Check credit balance |\n| `\u002Fapi\u002Fcredits\u002Fbuy` | POST | Token | Submit MON payment tx hash for credits |\n| `\u002Fapi\u002Fpro\u002Fstatus` | GET | Token | Check Pro membership status |\n| `\u002Fapi\u002Fpro\u002Fbuy` | POST | Token | Purchase NadMail Pro with MON |\n\n### Send Email Body\n\n```json\n{\n  \"to\": \"alice@nadmail.ai\",\n  \"subject\": \"Hello\",\n  \"body\": \"Email content here\",\n  \"emo_amount\": 0.025,\n  \"html\": \"\u003Cp>Optional HTML\u003C\u002Fp>\",\n  \"in_reply_to\": \"msg-id\",\n  \"attachments\": []\n}\n```\n\n- `emo_amount` (optional): Extra MON for emo-buy (0 to 0.1). Only works for `@nadmail.ai` recipients.\n- Internal emails trigger micro-buy (0.001 MON) + optional emo-buy.\n- External emails cost 1 credit. No micro-buy.\n\n---\n\n## Key Differences from BaseMail\n\n1. **Authentication endpoint**: Uses `\u002Fapi\u002Fauth\u002Fagent-register` (not `\u002Fapi\u002Fauth\u002Fverify`)\n2. **Config directory**: `~\u002F.nadmail\u002F` (not `~\u002F.basemail\u002F`)\n3. **Environment variable**: `NADMAIL_PRIVATE_KEY` (not `BASEMAIL_PRIVATE_KEY`)\n4. **Email domain**: `@nadmail.ai` (not `@basemail.ai`)\n5. **Meme coins**: Every user gets a token on nad.fun\n6. **Emo-buy**: Boost emails with extra MON investment\n7. **Chain**: Monad mainnet (chainId: 143)\n\n---\n\n## Links\n\n- Website: https:\u002F\u002Fnadmail.ai\n- API: https:\u002F\u002Fapi.nadmail.ai\n- API Docs: https:\u002F\u002Fapi.nadmail.ai\u002Fapi\u002Fdocs\n\n---\n\n## Changelog\n\n### v1.0.4 (2026-02-10)\n- **Security hardening** (addresses VirusTotal \"Suspicious\" classification):\n  - Removed plaintext private key storage entirely (`--no-encrypt` removed)\n  - Mnemonic is displayed once during setup and never saved to file\n  - Legacy plaintext key and mnemonic files are securely overwritten and deleted on next setup\n  - Added `--wallet` path validation: must be under `$HOME`, no `..` traversal, max 1KB, regular file only\n  - Added private key format validation (`0x` + 64 hex chars)\n  - Stronger password requirements: min 8 chars, must include letter + number\n- **Emo-buy safety**:\n  - Emo-buy ALWAYS requires interactive confirmation (--yes flag removed for security)\n  - Daily emo spending tracker with configurable cap (default: 0.5 MON\u002Fday)\n  - Set `NADMAIL_EMO_DAILY_CAP` env var to adjust the daily limit\n- Updated file locations and scripts documentation\n\n### v1.0.3 (2026-02-10)\n- Minor updates\n\n### v1.0.2 (2026-02-10)\n- Added emo-buy support to `send.js` (`--emo` flag with presets)\n- Added credits & external email documentation\n- Updated API reference with all endpoints (identity, credits, pro, delete)\n- Removed dead endpoint fallbacks (`\u002Fapi\u002Fmail\u002Fsend`, `\u002Fapi\u002Femails\u002F:id`)\n- Switched all UI messages to English\n- Added `audit.js` to scripts table\n\n### v1.0.1 (2026-02-09)\n- Bug fixes and endpoint updates\n\n### v1.0.0 (2026-02-09)\n- Initial release based on BaseMail architecture\n- SIWE authentication with agent-register endpoint\n- Send and receive emails\n- Encrypted private key storage\n- Audit logging\n\n---\n\n## Troubleshooting\n\n### Common Issues\n\n**\"No wallet found\"**\n- Make sure `NADMAIL_PRIVATE_KEY` is set, or\n- Use `--wallet \u002Fpath\u002Fto\u002Fkey`, or\n- Run `node setup.js --managed` to generate one\n\n**\"Token may be expiring soon\"**\n- Run `node register.js` again to refresh your token (tokens last 24h)\n\n**\"Send failed\" \u002F \"Not enough credits\"**\n- Internal emails: Check if recipient exists, verify token is valid\n- External emails: Buy credits first (`POST \u002Fapi\u002Fcredits\u002Fbuy`)\n\n**\"Authentication failed\"**\n- Make sure your private key is correct\n- Signing doesn't require gas — but the key must match the registered address\n\n**\"Wrong password or decryption failed\"**\n- If using encrypted wallet, double-check your password\n- Try re-running setup if password is lost: `node setup.js --managed`\n\n### Audit Log\n\nCheck recent operations:\n```bash\nnode scripts\u002Faudit.js\n```\n\n---\n\n## Usage Tips\n\n1. **Token Caching**: Tokens are saved to `~\u002F.nadmail\u002Ftoken.json` and reused (24h expiry)\n2. **Audit Trail**: All operations logged to `~\u002F.nadmail\u002Faudit.log`\n3. **Handle Selection**: Choose a memorable handle during registration\n4. **Emo Presets**: Use `--emo bullish` for quick emo-buy without calculating amounts\n5. **Credits**: Buy in bulk (1 MON = 7 external emails) to minimize transactions\n",{"name":5,"version":24,"description":7},"2.0.0","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fdaaab\u002Fnadmail",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill NadMail",{"tool":40,"command":41},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill NadMail",{"tool":43,"command":44},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill NadMail","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdaaab\u002Fnadmail\u002FSKILL.md",true,[],[49,57,64,71,78,85],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":56},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":56},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":56},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":56},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":56},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]