AgentMail Wrapper for Openclaw

A professional-grade email integration for AI agents that handles multi-provider delivery, tracking, and compliance.

shepherd217
v1.0.0
Feb 11, 2026
0
952
1

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install agentmail-wrapper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install agentmail-wrapper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is AgentMail Wrapper?

AgentMail Wrapper is a robust integration layer designed to give AI agents sophisticated email capabilities. It abstracts the complexities of connecting to various email service providers like SendGrid, Mailgun, and AWS SES, as well as traditional SMTP and Gmail via OAuth. By implementing this within your Openclaw Skills ecosystem, developers can ensure high deliverability rates while maintaining strict adherence to GDPR and CAN-SPAM regulations.

Beyond simple sending, the skill provides deep insights into email performance through integrated tracking for opens, clicks, and bounces. It acts as a centralized hub for managing templates and scheduled sequences, allowing agents to communicate with users effectively and professionally without manual oversight.

AgentMail Wrapper Use Cases

  • Deploying automated transactional emails for user signups, password resets, and notifications.
  • Executing complex email marketing campaigns and automated follow-up sequences.
  • Tracking engagement metrics to trigger agent actions based on user opens or clicks.
  • Maintaining list hygiene by automatically processing unsubscribes and hard bounces.
  • Managing multiple SMTP accounts across different providers from a single interface.

How AgentMail Wrapper Works

  1. Initialize the AgentMail instance by specifying your preferred provider (e.g., SendGrid, AWS SES, or SMTP) and the associated API credentials.
  2. Define email templates or dynamic content within your Openclaw Skills workflow.
  3. Execute the send method, passing recipient details and optional tracking flags for opens and clicks.
  4. The wrapper routes the request through the selected provider and captures real-time delivery events.
  5. Webhooks or polling mechanisms update the agent on delivery status, bounces, or user interactions to facilitate automated follow-ups.

AgentMail Wrapper Setup

Install the AgentMail Wrapper using your package manager of choice:

npm install agentmail-wrapper
# or
pip install agentmail-wrapper

Ensure your environment variables are configured with the necessary API keys or SMTP credentials for your chosen provider before initializing the skill in your project.

AgentMail Wrapper Data Schema & Taxonomy

The skill organizes email requests and tracking metadata using a structured schema to ensure consistency across Openclaw Skills.

Attribute Type Purpose
provider String The target delivery service (e.g., 'sendgrid', 'smtp')
to String Recipient email address
subject String The email subject line
html String The body content in HTML format
trackOpens Boolean Toggle for tracking image-based opens
trackClicks Boolean Toggle for rewriting links to track user clicks

AgentMail Wrapper Advanced Features

  • Multi-provider failover support to switch providers if one service experiences downtime.
  • Integrated email verification to validate recipient addresses before sending.
  • Advanced OAuth 2.0 support for secure integrations with Gmail and Outlook accounts.
  • Automated compliance reporting and suppression list management for high-volume senders.
  • Batch processing engine for efficient handling of large-scale email distributions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*