← Back to Skills Marketplace
lausser

AgentMail sending and receiving with Python scripts

by Gerhard Lausser · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
356
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install python-agentmail-send-receive
Description
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...
Usage Guidance
This skill appears to be a straightforward agentmail client, but the registry metadata does not declare the AGENTMAIL_API_KEY that the scripts require. Before installing: 1) Confirm the source (review the linked GitHub repo and verify the agentmail PyPI package is legitimate and popular). 2) Do not place unrelated secrets into ~/.openclaw/workspace/agentmail/.env or openclaw.json — only store the agentmail API key there if you accept the risk. 3) Update or ask the publisher to update the skill metadata to declare AGENTMAIL_API_KEY as a required credential so automated checks will surface it. 4) Run the scripts in an isolated environment or VM if you are unsure, and replace the REPLACE_WITH_* placeholders before use. If you need higher assurance, request the publisher to provide a formal install spec and to sign/release the agents or packages used.
Capability Analysis
Type: OpenClaw Skill Name: python-agentmail-send-receive Version: 1.0.0 The skill bundle is designed to send and receive emails via the agentmail.to API, which aligns with its stated purpose. The `SKILL.md` provides clear, functional instructions for setting up a Python virtual environment, installing dependencies (`agentmail`, `python-dotenv`), and executing the `check_mail.py` and `send_email.py` scripts. The Python scripts handle API keys securely via environment variables or a `.env` file, perform network communication only with the specified `agentmail.to` service, and confine file operations (saving received emails as JSON) to the designated OpenClaw workspace. There is no evidence of data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, or prompt injection attempts against the agent that would lead to harmful actions beyond the skill's intended functionality.
Capability Assessment
Purpose & Capability
The code and instructions match the stated purpose: both scripts use the agentmail Python client to list, fetch, mark read, send, and reply to messages for an inbox. However, the registry metadata declares no required environment variables or primary credential, while the runtime clearly needs AGENTMAIL_API_KEY — an inconsistency between declared requirements and actual capability.
Instruction Scope
SKILL.md and the scripts confine activity to the workspace (~/.openclaw/workspace/agentmail), create a virtualenv, install PyPI packages, read an AGENTMAIL_API_KEY from a .env or environment, call the agentmail API, and write MAIL.* JSON files. The instructions do not ask the agent to read unrelated system files or send data to unexpected endpoints beyond the agentmail API.
Install Mechanism
There is no formal install spec in the registry; SKILL.md instructs creating a venv and running 'pip install agentmail python-dotenv' from PyPI. Installing PyPI packages is expected for a Python skill but carries moderate risk (verify the agentmail package and its provenance). The install actions write files to the user's workspace, which is expected behavior here.
Credentials
The scripts require AGENTMAIL_API_KEY, but the registry metadata lists no required environment variables or primary credential. This omission is a mismatch that could cause users to overlook the need to supply a secret. SKILL.md also mentions reading openclaw.json as an alternative source for the key (the scripts themselves only load .env or the process environment), which creates ambiguity about where secrets will be stored. No other unrelated secrets are requested.
Persistence & Privilege
The skill is not always-enabled and does not request elevated privileges. It installs to and runs from a workspace-specific directory and does not modify other skills or system-wide configs. Autonomous invocation (disable-model-invocation=false) is the platform default and is not by itself concerning here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install python-agentmail-send-receive
  3. After installation, invoke the skill by name or use /python-agentmail-send-receive
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of python-agentmail-send-receive. - Provides scripts to send and receive email via agentmail.to using its API. - Includes setup steps for deployment, environment configuration, and verification. - Scripts support downloading new messages as JSON and sending/replying to emails. - Output files, usage examples, and relevant API parameters are documented for clarity.
Metadata
Slug python-agentmail-send-receive
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is AgentMail sending and receiving with Python scripts?

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... It is an AI Agent Skill for Claude Code / OpenClaw, with 356 downloads so far.

How do I install AgentMail sending and receiving with Python scripts?

Run "/install python-agentmail-send-receive" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AgentMail sending and receiving with Python scripts free?

Yes, AgentMail sending and receiving with Python scripts is completely free (open-source). You can download, install and use it at no cost.

Which platforms does AgentMail sending and receiving with Python scripts support?

AgentMail sending and receiving with Python scripts is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AgentMail sending and receiving with Python scripts?

It is built and maintained by Gerhard Lausser (@lausser); the current version is v1.0.0.

💬 Comments