[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77SB3T1TNE86WBFXEPZSSD7":3,"skill-same:01M77SB3T1TNE86WBFXEPZSSD7":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":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M77SB3T1TNE86WBFXEPZSSD7","python-agentmail-send-receive",null,"python files which are used to send an email and to download received emails from an inbox. The email provider is agentmail.to, which offers an API. This way of email handling is very AI-agent friendly.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fp\u002Fpython-agentmail-send-receive\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: python-agentmail-send-receive\ndescription: python files which are used to send an email and to download received emails from an inbox. The email provider is agentmail.to, which offers an API. This way of email handling is very AI-agent friendly.\nhomepage: https:\u002F\u002Fgithub.com\u002Flausser\u002Fpython-agentmail-send-receive\n---\n\n# Skill: Email via agentmail\n\nYou can send and receive email as `REPLACE_WITH_IDENTITY@agentmail.to` using two Python scripts.\nThe scripts live in this skill folder and are deployed to `~\u002F.openclaw\u002Fworkspace\u002Fagentmail\u002F`.\nThe scripts contain placeholders which need to be replaced with real-life value:\n* REPLACE_WITH_IDENTITY\n* REPLACE_WITH_THE_HUMANS_EMAIL_ADDRESS\n\n## 1. Setup\n\n### Deploy the skill\n\nCopy the scripts and create the venv in the workspace:\n\n```bash\nDEST=~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nSKILL_DIR=\"$(dirname \"$(readlink -f \"$0\")\")\"    # if running from a script\n# or just point SKILL_DIR to this skill folder\n\nmkdir -p \"$DEST\"\ncp \"$SKILL_DIR\u002Fcheck_mail.py\" \"$SKILL_DIR\u002Fsend_email.py\" \"$DEST\u002F\"\n\ncd \"$DEST\"\n\n# Create venv (prefer uv, fall back to python)\nif command -v uv &>\u002Fdev\u002Fnull; then\n  uv venv venv\n  uv pip install --python venv\u002Fbin\u002Fpython agentmail python-dotenv\nelse\n  python3 -m venv venv\n  venv\u002Fbin\u002Fpip install agentmail python-dotenv\nfi\n```\n\n### Create the `.env` file\n\n```bash\ncat > ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\u002F.env \u003C\u003C 'EOF'\nAGENTMAIL_API_KEY=am_us_.....\nEOF\n```\n\nThis is only necessary if you don't have the environment variable in your running environment or if you can't read it from your openclaw.json config file.\n\n### Verify\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nsource venv\u002Fbin\u002Factivate\npython check_mail.py        # should print \"No new mail.\" on a fresh inbox\n```\n\n## 2. Receiving Email\n\n### Run\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nsource venv\u002Fbin\u002Factivate\npython check_mail.py\n```\n\nThis downloads all unread messages as JSON files into the workspace directory and marks them as read. Running it again only fetches new mail.\n\n### Output files\n\nEach message is saved as `MAIL.\u003CYYYYMMDDTHHmmss>.\u003CNNN>` — timestamp from the message, 3-digit sequence number within the batch.\n\nExample: `MAIL.20260226T134244.001`\n\nThe JSON inside contains:\n\n```json\n{\n  \"message_id\": \"\u003C...>\",\n  \"thread_id\": \"...\",\n  \"timestamp\": \"2026-02-26 13:42:44+00:00\",\n  \"from\": \"Sender Name \u003Csender@example.com>\",\n  \"to\": [\"REPLACE_WITH_IDENTITY@agentmail.to\"],\n  \"cc\": null,\n  \"subject\": \"Re: Hello\",\n  \"text\": \"Plain-text body...\",\n  \"html\": \"\u003Cp>HTML body...\u003C\u002Fp>\",\n  \"labels\": [\"received\", \"unread\"],\n  \"in_reply_to\": \"\u003Coriginal-message-id>\",\n  \"attachments\": []\n}\n```\n\n### Reading downloaded mail\n\n```bash\n# List all mail files (oldest first)\nls -1 MAIL.* 2>\u002Fdev\u002Fnull | sort\n\n# Read one\ncat MAIL.20260226T134244.001\n\n# Extract just the text body\npython -c \"import json,sys; print(json.load(open(sys.argv[1]))['text'])\" MAIL.20260226T134244.001\n```\n\n### Exit codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | Success (mail downloaded or inbox empty) |\n| 1 | Missing API key |\n| 2 | API error on initial listing |\n| 3 | Total failure (all messages errored) |\n\n## 3. Sending Email\n\n### Run\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nsource venv\u002Fbin\u002Factivate\npython send_email.py\n```\n\n`send_email.py` is a template with hardcoded recipient\u002Fsubject\u002Fbody. For real use, modify its parameters or write a one-off script using the same pattern:\n\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom agentmail import AgentMail\n\nload_dotenv()\nclient = AgentMail(api_key=os.getenv(\"AGENTMAIL_API_KEY\"))\n\nclient.inboxes.messages.send(\n    inbox_id=\"REPLACE_WITH_IDENTITY@agentmail.to\",\n    to=\"recipient@example.com\",\n    subject=\"Subject line\",\n    text=\"Plain-text body.\",\n)\n```\n\n### send() parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `inbox_id` | yes | Always `\"REPLACE_WITH_IDENTITY@agentmail.to\"` |\n| `to` | yes | Recipient email address |\n| `subject` | no | Subject line |\n| `text` | no | Plain-text body |\n| `html` | no | HTML body |\n| `cc` | no | CC addresses |\n| `bcc` | no | BCC addresses |\n\n## 4. Replying to a Message\n\nTo reply in the same thread, use `reply()` with the `message_id` from a downloaded `MAIL.*` file:\n\n```python\nimport json, os\nfrom dotenv import load_dotenv\nfrom agentmail import AgentMail\n\nload_dotenv()\nclient = AgentMail(api_key=os.getenv(\"AGENTMAIL_API_KEY\"))\n\n# Load the message you want to reply to\nwith open(\"MAIL.20260226T134244.001\") as f:\n    msg = json.load(f)\n\nclient.inboxes.messages.reply(\n    inbox_id=\"REPLACE_WITH_IDENTITY@agentmail.to\",\n    message_id=msg[\"message_id\"],\n    text=\"This is my reply.\",\n)\n```\n\nThis preserves threading — the reply appears in the same conversation as the original.\n\n## 5. Typical Workflow\n\n1. **Check mail**: `python check_mail.py`\n2. **Read**: inspect the `MAIL.*` files that were created\n3. **Process**: act on the content of each message\n4. **Reply** if needed: use the `reply()` pattern from section 4\n5. **Clean up**: `rm MAIL.*` when done processing\n6. **Repeat**: run `check_mail.py` again later for new messages\n","# Skill: Email via agentmail\n\nYou can send and receive email as `REPLACE_WITH_IDENTITY@agentmail.to` using two Python scripts.\nThe scripts live in this skill folder and are deployed to `~\u002F.openclaw\u002Fworkspace\u002Fagentmail\u002F`.\nThe scripts contain placeholders which need to be replaced with real-life value:\n* REPLACE_WITH_IDENTITY\n* REPLACE_WITH_THE_HUMANS_EMAIL_ADDRESS\n\n## 1. Setup\n\n### Deploy the skill\n\nCopy the scripts and create the venv in the workspace:\n\n```bash\nDEST=~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nSKILL_DIR=\"$(dirname \"$(readlink -f \"$0\")\")\"    # if running from a script\n# or just point SKILL_DIR to this skill folder\n\nmkdir -p \"$DEST\"\ncp \"$SKILL_DIR\u002Fcheck_mail.py\" \"$SKILL_DIR\u002Fsend_email.py\" \"$DEST\u002F\"\n\ncd \"$DEST\"\n\n# Create venv (prefer uv, fall back to python)\nif command -v uv &>\u002Fdev\u002Fnull; then\n  uv venv venv\n  uv pip install --python venv\u002Fbin\u002Fpython agentmail python-dotenv\nelse\n  python3 -m venv venv\n  venv\u002Fbin\u002Fpip install agentmail python-dotenv\nfi\n```\n\n### Create the `.env` file\n\n```bash\ncat > ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\u002F.env \u003C\u003C 'EOF'\nAGENTMAIL_API_KEY=am_us_.....\nEOF\n```\n\nThis is only necessary if you don't have the environment variable in your running environment or if you can't read it from your openclaw.json config file.\n\n### Verify\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nsource venv\u002Fbin\u002Factivate\npython check_mail.py        # should print \"No new mail.\" on a fresh inbox\n```\n\n## 2. Receiving Email\n\n### Run\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nsource venv\u002Fbin\u002Factivate\npython check_mail.py\n```\n\nThis downloads all unread messages as JSON files into the workspace directory and marks them as read. Running it again only fetches new mail.\n\n### Output files\n\nEach message is saved as `MAIL.\u003CYYYYMMDDTHHmmss>.\u003CNNN>` — timestamp from the message, 3-digit sequence number within the batch.\n\nExample: `MAIL.20260226T134244.001`\n\nThe JSON inside contains:\n\n```json\n{\n  \"message_id\": \"\u003C...>\",\n  \"thread_id\": \"...\",\n  \"timestamp\": \"2026-02-26 13:42:44+00:00\",\n  \"from\": \"Sender Name \u003Csender@example.com>\",\n  \"to\": [\"REPLACE_WITH_IDENTITY@agentmail.to\"],\n  \"cc\": null,\n  \"subject\": \"Re: Hello\",\n  \"text\": \"Plain-text body...\",\n  \"html\": \"\u003Cp>HTML body...\u003C\u002Fp>\",\n  \"labels\": [\"received\", \"unread\"],\n  \"in_reply_to\": \"\u003Coriginal-message-id>\",\n  \"attachments\": []\n}\n```\n\n### Reading downloaded mail\n\n```bash\n# List all mail files (oldest first)\nls -1 MAIL.* 2>\u002Fdev\u002Fnull | sort\n\n# Read one\ncat MAIL.20260226T134244.001\n\n# Extract just the text body\npython -c \"import json,sys; print(json.load(open(sys.argv[1]))['text'])\" MAIL.20260226T134244.001\n```\n\n### Exit codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | Success (mail downloaded or inbox empty) |\n| 1 | Missing API key |\n| 2 | API error on initial listing |\n| 3 | Total failure (all messages errored) |\n\n## 3. Sending Email\n\n### Run\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fagentmail\nsource venv\u002Fbin\u002Factivate\npython send_email.py\n```\n\n`send_email.py` is a template with hardcoded recipient\u002Fsubject\u002Fbody. For real use, modify its parameters or write a one-off script using the same pattern:\n\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom agentmail import AgentMail\n\nload_dotenv()\nclient = AgentMail(api_key=os.getenv(\"AGENTMAIL_API_KEY\"))\n\nclient.inboxes.messages.send(\n    inbox_id=\"REPLACE_WITH_IDENTITY@agentmail.to\",\n    to=\"recipient@example.com\",\n    subject=\"Subject line\",\n    text=\"Plain-text body.\",\n)\n```\n\n### send() parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `inbox_id` | yes | Always `\"REPLACE_WITH_IDENTITY@agentmail.to\"` |\n| `to` | yes | Recipient email address |\n| `subject` | no | Subject line |\n| `text` | no | Plain-text body |\n| `html` | no | HTML body |\n| `cc` | no | CC addresses |\n| `bcc` | no | BCC addresses |\n\n## 4. Replying to a Message\n\nTo reply in the same thread, use `reply()` with the `message_id` from a downloaded `MAIL.*` file:\n\n```python\nimport json, os\nfrom dotenv import load_dotenv\nfrom agentmail import AgentMail\n\nload_dotenv()\nclient = AgentMail(api_key=os.getenv(\"AGENTMAIL_API_KEY\"))\n\n# Load the message you want to reply to\nwith open(\"MAIL.20260226T134244.001\") as f:\n    msg = json.load(f)\n\nclient.inboxes.messages.reply(\n    inbox_id=\"REPLACE_WITH_IDENTITY@agentmail.to\",\n    message_id=msg[\"message_id\"],\n    text=\"This is my reply.\",\n)\n```\n\nThis preserves threading — the reply appears in the same conversation as the original.\n\n## 5. Typical Workflow\n\n1. **Check mail**: `python check_mail.py`\n2. **Read**: inspect the `MAIL.*` files that were created\n3. **Process**: act on the content of each message\n4. **Reply** if needed: use the `reply()` pattern from section 4\n5. **Clean up**: `rm MAIL.*` when done processing\n6. **Repeat**: run `check_mail.py` again later for new messages\n",{"name":5,"homepage":24,"description":7},"https:\u002F\u002Fgithub.com\u002Flausser\u002Fpython-agentmail-send-receive","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fp\u002Fpython-agentmail-send-receive",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill python-agentmail-send-receive",{"tool":40,"command":41},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill python-agentmail-send-receive",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill python-agentmail-send-receive","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fp\u002Fpython-agentmail-send-receive\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"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":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]