Email Campaign Automation for Openclaw

A high-volume Gmail automation system designed to deliver scheduled batches, track engagement, and manage contact lists efficiently.

wespeakallday
v2.0.0
Mar 4, 2026
0
926
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install email-campaign

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 email-campaign 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 Email Campaign Automation?

The Email Campaign skill is a professional-grade automation engine built for high-volume communication within the Openclaw Skills ecosystem. It enables businesses to manage massive outreach programs by sending 1,000 emails daily through Google Workspace, distributed across four strategic time slots to ensure optimal deliverability and compliance with Gmail rate limits.

This skill doesn't just send mail; it acts as a comprehensive manager that handles inbox scraping for new leads, monitors bounce rates, and processes unsubscribe requests automatically. By utilizing service accounts with domain-wide delegation, it provides a secure and scalable way to execute personalized marketing campaigns without manual intervention.

Email Campaign Automation Use Cases

  • Automating high-volume daily newsletters or tax tips to a large subscriber base.
  • Scaling outbound sales outreach while maintaining Gmail API compliance.
  • Synchronizing mailing lists by scraping inboxes for new contacts and managing opt-outs.
  • Delivering time-sensitive marketing offers in scheduled batches throughout the day.

How Email Campaign Automation Works

  1. The Openclaw Skills scheduler triggers the automation at predefined intervals: 06:00, 12:00, 15:00, and 18:00.
  2. The system authenticates via the Google Service Account and parses the contact list from a specified Excel or CSV file.
  3. Dynamic content is injected into the HTML template, replacing variables like RECIPIENT_NAME and TAX_TIP for each message.
  4. Emails are dispatched through the Gmail API, adhering to a 250-message-per-batch limit to avoid rate-limiting issues.
  5. The skill scrapes the inbox for UNSUBSCRIBE replies and monitors bounce notifications to clean the mailing list.
  6. A JSON report is generated summarizing the batch performance, including sent counts and failure logs.

Email Campaign Automation Setup

Prerequisites

Enable the Gmail API in your Google Cloud Console and configure a Service Account with domain-wide delegation.

Installation

# Install necessary Python dependencies
pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client pandas

Environment Configuration

Define the following variables in your environment:

  • GOOGLE_SERVICE_ACCOUNT: Your JSON credentials string.
  • USER_EMAIL: The primary sending account.
  • MAILING_LIST_PATH: Path to your contact Excel/CSV file.

Email Campaign Automation Data Schema & Taxonomy

Component Details
Input Source Excel (.xlsx) or CSV containing RECIPIENT_NAME and contact info.
Template Files HTML templates for rich-text content located in the /templates folder.
Batch Metadata JSON object tracking batch_id, sent_count, bounces, and unsubscribes.
Compliance Automatic inclusion of physical addresses and unsubscribe logic.

Email Campaign Automation Advanced Features

  • Multi-batch scheduling with four daily triggers for consistent engagement.
  • Automated inbox scraping to identify and add new contacts dynamically.
  • Dynamic Tax Tip rotation and personalized offer injection per recipient.
  • Full bounce and unsubscribe management for CAN-SPAM compliance within Openclaw Skills.
  • Domain-wide delegation support for sending from authorized alias addresses.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*