A robust automation skill for interacting with email mailboxes via standard IMAP and SMTP protocols using password or OAuth2 authentication.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install email-imap-smtp
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install email-imap-smtp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Email IMAP/SMTP skill provides a standardized interface for AI agents to perform complex mailbox operations. Built for integration with Openclaw Skills, it allows for reliable sending and receiving of emails across mainstream providers such as Gmail, Outlook, Yahoo, and Zoho. The tool handles the intricacies of IMAP for reading and searching messages, as well as SMTP for sending HTML emails with attachments, ensuring high-fidelity communication automation.
By leveraging this skill, developers can implement secure mail workflows using modern authentication standards. It emphasizes security by supporting OAuth2 flows and environment variable configuration, making it suitable for both local development and production-grade AI agent deployments within the Openclaw Skills ecosystem.
To use this skill, ensure your environment is configured with the necessary Python dependencies. Set your credentials as environment variables to maintain security.
# Set core environment variables
export EMAIL_ADDRESS="[email protected]"
export EMAIL_PROVIDER="gmail"
export EMAIL_AUTH_MODE="password"
export EMAIL_APP_PASSWORD="your-app-password"
# Run the help command to explore available subcommands
python scripts/email_ops.py --help
The skill manages data through structured command-line arguments and environment variables, mapping them to standard IMAP/SMTP attributes.
| Attribute | Description |
|---|---|
| EMAIL_PROVIDER | Preset configurations for hosts like gmail, outlook, qq, and icloud. |
| EMAIL_AUTH_MODE | Defines the security layer: auto, password, or oauth2. |
| UID | Unique identifier used to fetch specific email contents. |
| Mailbox | The folder to operate within (defaults to INBOX). |
| Attachments | List of file paths to be included in outgoing SMTP payloads. |
Loading
A specialized tool for querying, decoding, and analyzing TRON blockchain transactions with granular detail on resource consumption and contract interactions.

An AI agent skill designed to generate structured, scripture-referenced sermon outlines from any passage or theme.

A comprehensive API suite for programmatically fetching website favicons and generating complete multi-resolution favicon packages from source images.

A specialized data retrieval tool for accessing structured business listings and regional services across North America.

A specialized AI agent skill designed to provide structured, context-aware answers to biblical questions regarding passages, figures, and themes.

A specialized utility for tracking and planning tasks around financial market trading days in the US, China, and Hong Kong.








































