A secure, multi-account command-line email client designed for AI agents using Openclaw Skills to safely read, search, and manage Gmail, Outlook, and Exchange inboxes.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install email-gmail-outlook
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-gmail-outlook using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The porteden email skill is a high-performance, developer-focused command-line tool designed to integrate seamless, secure email capabilities into AI workflows. Built as a secure alternative to complex API integrations, this skill allows agents to search, retrieve, send, reply to, and archive emails across Gmail, Outlook, and Exchange directories with multi-account support. By leveraging compact JSON outputs, the tool maximizes efficiency and significantly reduces context window usage for LLM automation.
Integrating this tool with Openclaw Skills empowers teams to build robust, secure, and production-ready email automation agents. Built-in security boundaries prevent unsafe mutations, isolate enterprise accounts via profiles, and natively secure credentials using system keyrings.
Install the porteden CLI using Homebrew or Go:
# Install via Homebrew
brew install porteden/tap/porteden
# Alternatively, install via Go
go install github.com/porteden/cli/cmd/porteden@latest
Log in once to store credentials securely in your system's keyring:
# Browser-based login (recommended)
porteden auth login
# Alternatively, log in directly using a token
porteden auth login --token <your_key>
# Verify authentication status
porteden auth status
You can also configure the environment directly by setting the PE_API_KEY environment variable.
| Variable | Description |
|---|---|
PE_API_KEY |
API access key for seamless non-interactive CLI authorization. |
PE_PROFILE |
Sets the default mail profile (e.g., work, personal) to avoid manual selection. |
PE_TIMEZONE |
Configures the timezone context for time-filtered queries. |
PE_FORMAT |
Forces specific output serialization formats (e.g., json). |
The tool returns structured, token-saving compact JSON payloads when invoked with the -jc flag (JSON Compact):
google:abc123 or m365:xyz789).-jc): Automatically truncates body previews, drops extensive attachment details, and filters redundant metadata to minimize LLM token usage.hasMore and nextPageToken keys inside the parent JSON envelope.--profile flag or PE_PROFILE environment variable to isolate different Gmail and Outlook directories natively.-jc) dramatically compresses body previews and removes heavy attachments to keep agent prompt contexts clean.--all flag, allowing the tool to recursively navigate page tokens.porteden auth logout.Loading
Prevent subagent crashes caused by tool schema bloat by auditing your MCP configuration and generating optimized, role-specific setups.

An AI-driven research agent that automatically compiles regulatory filings, analyst consensus, and financial metrics to produce professional briefing packages for A-share investor meetings.

An automated migration skill that translates native WeChat Mini Programs into cross-platform uni-app projects featuring Vue3 and TypeScript.

A real-time MCP server for Claude Code that monitors subagent health, minimizes token waste, and prevents silent agent failures.

An intelligent, intent-based model router that automatically detects your prompt's context and routes it to the optimal AI agent.

A privacy-first, lightweight Model Context Protocol server for Termux and Linux environments that exposes file access, grep, and bash execution tools to offline Ollama models.








































