โœ“ Verified ๐ŸŒ Web Scrapers โœ“ Enhanced Data

Agenticmail

๐ŸŽ€ AgenticMail โ€” Full email, SMS, storage & multi-agent coordination for AI agents. 63 tools.

Rating
4.7 (151 reviews)
Downloads
4,950 downloads
Version
1.0.0

Overview

๐ŸŽ€ AgenticMail โ€” Full email, SMS, storage & multi-agent coordination for AI agents. 63 tools.

โœจKey Features

1

Local mail server โ€” Stalwart runs in Docker, no external dependencies

2

Agent-to-agent email โ€” Agents message each other at name@localhost

3

Sub-agent provisioning โ€” Sub-agents automatically get their own mailboxes

4

External email โ€” Configure relay + custom domain for real email delivery

5

Outbound security guard โ€” 39 rules scan for PII, credentials, API keys, and sensitive data before sending

6

Human-in-the-loop approval โ€” Blocked emails require owner approval via email reply or API

7

Automatic follow-up โ€” Exponential backoff reminders when blocked emails await approval

8

Spam filtering โ€” Inbound emails scored and flagged with configurable thresholds

9

Task delegation โ€” Inter-agent task queue with assign, claim, submit, and synchronous RPC

10

SMS / Phone โ€” Google Voice integration for verification codes and text messaging

11

Database storage โ€” 28-action DBMS (DDL, DML, indexing, aggregation, import/export, raw SQL)

12

Rate limiting โ€” Built-in protection against agent email storms

Complete Documentation

View Source โ†’

๐ŸŽ€ AgenticMail

Email, SMS, database storage & multi-agent coordination for AI agents. Gives your agent a real mailbox, phone number, and persistent storage โ€” 63 tools covering email, SMS, database management, and inter-agent task delegation. Includes outbound security guard, spam filtering, human-in-the-loop approval, and automatic follow-up scheduling.

Quick Setup

bash
agenticmail openclaw

That's it. The command sets up the mail server, creates an agent account, configures the plugin, and restarts the gateway.

Tools

Core Email (8 tools)

ToolDescription
agenticmail_sendSend an email with automatic PII/credential scanning and outbound security guard
agenticmail_replyReply to a message (outbound guard applied)
agenticmail_forwardForward a message (outbound guard applied)
agenticmail_inboxList recent emails in the inbox with pagination
agenticmail_readRead a specific email by UID with security metadata (spam score, sanitization)
agenticmail_searchSearch emails by from/subject/text/date/seen, optionally search relay account
agenticmail_deleteDelete an email by UID
agenticmail_import_relayImport an email from connected Gmail/Outlook for thread continuation

Batch Operations (5 tools)

ToolDescription
agenticmail_batch_readRead multiple emails at once by UIDs (token-efficient)
agenticmail_batch_deleteDelete multiple messages by UIDs
agenticmail_batch_mark_readMark multiple emails as read
agenticmail_batch_mark_unreadMark multiple emails as unread
agenticmail_batch_moveMove multiple messages to another folder

Efficiency (2 tools)

ToolDescription
agenticmail_digestGet a compact inbox digest with previews (efficient overview)
agenticmail_template_sendSend email using a saved template with variable substitution

Folders & Message Management (6 tools)

ToolDescription
agenticmail_foldersList all mail folders
agenticmail_list_folderList messages in a specific folder (Sent, Drafts, Trash, etc.)
agenticmail_create_folderCreate a new mail folder
agenticmail_moveMove an email to another folder
agenticmail_mark_unreadMark a message as unread
agenticmail_mark_readMark a message as read

Organization (7 tools)

ToolDescription
agenticmail_contactsManage contacts (list, add, delete)
agenticmail_tagsManage tags/labels (list, create, delete, tag/untag messages)
agenticmail_draftsManage email drafts (list, create, update, delete, send)
agenticmail_signaturesManage email signatures (list, create, delete)
agenticmail_templatesManage email templates (list, create, delete)
agenticmail_scheduleManage scheduled emails (create, list, cancel)
agenticmail_rulesManage server-side email rules for auto-processing

Security & Moderation (3 tools)

ToolDescription
agenticmail_spamManage spam (list spam folder, report, mark not-spam, get spam score)
agenticmail_pending_emailsCheck status of emails blocked by outbound security guard
agenticmail_cleanupList or remove inactive non-persistent agent accounts

Inter-Agent Communication (3 tools)

ToolDescription
agenticmail_message_agentSend a message to another AI agent by name (rate-limited)
agenticmail_check_messagesCheck for new unread messages from other agents
agenticmail_wait_for_emailWait for a new email using push notifications (SSE)

Agent Task Queue (5 tools)

ToolDescription
agenticmail_call_agentCall another agent (sync or async). Preferred method for all delegation.
agenticmail_check_tasksCheck pending tasks (incoming or outgoing)
agenticmail_claim_taskClaim a pending task assigned to you
agenticmail_submit_resultSubmit result for a claimed task
agenticmail_complete_taskClaim + submit in one call (for light-mode tasks)

Account Management (6 tools)

ToolDescription
agenticmail_whoamiGet current agent info (name, email, role, metadata)
agenticmail_update_metadataUpdate agent metadata
agenticmail_list_agentsList all AI agents with emails and roles
agenticmail_create_accountCreate a new agent email account (requires master key)
agenticmail_delete_agentDelete an agent (archives emails, generates deletion report)
agenticmail_deletion_reportsList or view past agent deletion reports

Gateway & Admin (9 tools)

ToolDescription
agenticmail_statusCheck AgenticMail server health
agenticmail_setup_guideCompare setup modes (Relay/Beginner vs Domain/Advanced) with requirements, pros/cons
agenticmail_setup_relayConfigure Gmail/Outlook relay for real internet email (Beginner)
agenticmail_setup_domainSet up a custom domain via Cloudflare with optional Gmail SMTP relay (Advanced)
agenticmail_setup_gmail_aliasGet instructions to add agent email as Gmail "Send mail as" alias (for domain mode)
agenticmail_setup_paymentGet instructions to add payment method to Cloudflare (self-service link or browser automation)
agenticmail_purchase_domainSearch domain availability (purchase must be done manually on Cloudflare or other registrar)
agenticmail_gateway_statusCheck email gateway status (relay, domain, or none)
agenticmail_test_emailSend a test email to verify setup

SMS / Phone (8 tools)

ToolDescription
agenticmail_sms_setupConfigure SMS via Google Voice (phone number + forwarding email)
agenticmail_sms_sendSend an SMS text message via Google Voice
agenticmail_sms_messagesList SMS messages (inbound/outbound)
agenticmail_sms_check_codeCheck for recent verification/OTP codes from SMS
agenticmail_sms_read_voiceRead SMS directly from Google Voice web (fastest method)
agenticmail_sms_recordRecord an SMS from any source into the database
agenticmail_sms_parse_emailParse SMS from forwarded Google Voice email
agenticmail_sms_configGet current SMS/phone configuration

Database Storage (1 tool, 28 actions)

ToolDescription
agenticmail_storageFull DBMS โ€” 28 actions for persistent agent data storage
Actions: create_table, list_tables, describe_table, insert, upsert, query, aggregate, update, delete_rows, truncate, drop_table, clone_table, rename_table, rename_column, add_column, drop_column, create_index, list_indexes, drop_index, reindex, archive_table, unarchive_table, export, import, sql, stats, vacuum, analyze, explain

Tables sandboxed per-agent (agt_ prefix) or shared (shared_ prefix). Works on SQLite, Postgres, MySQL, Turso.

๐ŸŽ€ AgenticMail vs sessions_spawn โ€” Migration Guide

If you have ๐ŸŽ€ AgenticMail installed, ALWAYS prefer it over sessions_spawn/sessions_send for agent coordination.

What Replaces What

Old (OpenClaw built-in)New (๐ŸŽ€ AgenticMail)Why it's better
sessions_spawn(task) then poll sessions_historyagenticmail_call_agent(target, task)One call, structured JSON result back. No polling.
sessions_send(sessionKey, msg)agenticmail_message_agent(name, subject, text)By agent name, not session key. Persistent.
sessions_list + sessions_history (poll)agenticmail_check_tasks or agenticmail_wait_for_emailStructured status tracking or push-based wait.
(no equivalent)agenticmail_call_agent(async=true)Async delegation โ€” agent runs independently and notifies when done.
(no equivalent)agenticmail_claim_task + agenticmail_submit_resultAgent claims work, submits structured results.
(no equivalent)agenticmail_list_agentsDiscover all available agents by name and role.

When to Use What

  • Need a result back? โ†’ agenticmail_call_agent(target, task) (sync RPC, up to 10 min)
  • Delegating work for later? โ†’ agenticmail_call_agent(target, task, async=true) โ†’ agenticmail_check_tasks
  • Messaging an agent? โ†’ agenticmail_message_agent (by name)
  • Waiting for a reply? โ†’ agenticmail_wait_for_email (push, not polling)
  • Finding agents? โ†’ agenticmail_list_agents
  • Quick throwaway sub-agent? โ†’ sessions_spawn is fine (only use case where it's still ok)

Why ๐ŸŽ€ AgenticMail Is Better

Problem with sessions_spawn๐ŸŽ€ AgenticMail solution
If sub-agent crashes, ALL work is lostTasks persist in database, survive crashes
No structured results (just text)JSON results with status lifecycle
Must poll sessions_history (wastes tokens)Push notifications โ€” notified instantly
Agents can't find each otherlist_agents shows all agents by name/role
No task tracking (claimed? done? failed?)Full lifecycle: pending โ†’ claimed โ†’ completed
Parent must block waitingAsync: assign and check later
Impact: ~60% fewer tokens on multi-agent tasks. 3-5x more effective workflows.

Usage Examples

Send an email

text
Send an email to [email protected] with subject "Weekly Report" and a summary of this week's work.

Check and reply

text
Check my inbox for unread emails and reply to any that need a response.

Inter-agent messaging

text
Send a message to the researcher agent asking for the latest findings on topic X.

Search

text
Search my emails for messages from [email protected] about the Q4 budget.

Delegate a task

text
Assign the analyst agent a task to review the attached spreadsheet and summarize the key metrics.

Batch operations

text
Read emails 5, 12, and 34 at once and summarize the common thread.

Configuration

Set in your OpenClaw config under plugins.entries:

json
{
  "plugins": {
    "entries": {
      "agenticmail": {
        "enabled": true,
        "config": {
          "apiUrl": "http://127.0.0.1:3100",
          "apiKey": "ak_your_agent_key",
          "masterKey": "mk_your_master_key"
        }
      }
    },
    "load": {
      "paths": ["/path/to/@agenticmail/openclaw"]
    }
  }
}

Features

  • Local mail server โ€” Stalwart runs in Docker, no external dependencies
  • Agent-to-agent email โ€” Agents message each other at name@localhost
  • Sub-agent provisioning โ€” Sub-agents automatically get their own mailboxes
  • External email โ€” Configure relay + custom domain for real email delivery
  • Outbound security guard โ€” 39 rules scan for PII, credentials, API keys, and sensitive data before sending
  • Human-in-the-loop approval โ€” Blocked emails require owner approval via email reply or API
  • Automatic follow-up โ€” Exponential backoff reminders when blocked emails await approval
  • Spam filtering โ€” Inbound emails scored and flagged with configurable thresholds
  • Task delegation โ€” Inter-agent task queue with assign, claim, submit, and synchronous RPC
  • SMS / Phone โ€” Google Voice integration for verification codes and text messaging
  • Database storage โ€” 28-action DBMS (DDL, DML, indexing, aggregation, import/export, raw SQL)
  • Rate limiting โ€” Built-in protection against agent email storms
  • Inbox awareness โ€” Agents are notified of unread mail at conversation start

Installation

Terminal bash

openclaw install agenticmail
    
Copied!

๐Ÿ’ปCode Examples

agenticmail openclaw

agenticmail-openclaw.txt
That's it. The command sets up the mail server, creates an agent account, configures the plugin, and restarts the gateway.

## Tools

### Core Email (8 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_send` | Send an email with automatic PII/credential scanning and outbound security guard |
| `agenticmail_reply` | Reply to a message (outbound guard applied) |
| `agenticmail_forward` | Forward a message (outbound guard applied) |
| `agenticmail_inbox` | List recent emails in the inbox with pagination |
| `agenticmail_read` | Read a specific email by UID with security metadata (spam score, sanitization) |
| `agenticmail_search` | Search emails by from/subject/text/date/seen, optionally search relay account |
| `agenticmail_delete` | Delete an email by UID |
| `agenticmail_import_relay` | Import an email from connected Gmail/Outlook for thread continuation |

### Batch Operations (5 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_batch_read` | Read multiple emails at once by UIDs (token-efficient) |
| `agenticmail_batch_delete` | Delete multiple messages by UIDs |
| `agenticmail_batch_mark_read` | Mark multiple emails as read |
| `agenticmail_batch_mark_unread` | Mark multiple emails as unread |
| `agenticmail_batch_move` | Move multiple messages to another folder |

### Efficiency (2 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_digest` | Get a compact inbox digest with previews (efficient overview) |
| `agenticmail_template_send` | Send email using a saved template with variable substitution |

### Folders & Message Management (6 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_folders` | List all mail folders |
| `agenticmail_list_folder` | List messages in a specific folder (Sent, Drafts, Trash, etc.) |
| `agenticmail_create_folder` | Create a new mail folder |
| `agenticmail_move` | Move an email to another folder |
| `agenticmail_mark_unread` | Mark a message as unread |
| `agenticmail_mark_read` | Mark a message as read |

### Organization (7 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_contacts` | Manage contacts (list, add, delete) |
| `agenticmail_tags` | Manage tags/labels (list, create, delete, tag/untag messages) |
| `agenticmail_drafts` | Manage email drafts (list, create, update, delete, send) |
| `agenticmail_signatures` | Manage email signatures (list, create, delete) |
| `agenticmail_templates` | Manage email templates (list, create, delete) |
| `agenticmail_schedule` | Manage scheduled emails (create, list, cancel) |
| `agenticmail_rules` | Manage server-side email rules for auto-processing |

### Security & Moderation (3 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_spam` | Manage spam (list spam folder, report, mark not-spam, get spam score) |
| `agenticmail_pending_emails` | Check status of emails blocked by outbound security guard |
| `agenticmail_cleanup` | List or remove inactive non-persistent agent accounts |

### Inter-Agent Communication (3 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_message_agent` | Send a message to another AI agent by name (rate-limited) |
| `agenticmail_check_messages` | Check for new unread messages from other agents |
| `agenticmail_wait_for_email` | Wait for a new email using push notifications (SSE) |

### Agent Task Queue (5 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_call_agent` | Call another agent (sync or async). Preferred method for all delegation. |
| `agenticmail_check_tasks` | Check pending tasks (incoming or outgoing) |
| `agenticmail_claim_task` | Claim a pending task assigned to you |
| `agenticmail_submit_result` | Submit result for a claimed task |
| `agenticmail_complete_task` | Claim + submit in one call (for light-mode tasks) |

### Account Management (6 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_whoami` | Get current agent info (name, email, role, metadata) |
| `agenticmail_update_metadata` | Update agent metadata |
| `agenticmail_list_agents` | List all AI agents with emails and roles |
| `agenticmail_create_account` | Create a new agent email account (requires master key) |
| `agenticmail_delete_agent` | Delete an agent (archives emails, generates deletion report) |
| `agenticmail_deletion_reports` | List or view past agent deletion reports |

### Gateway & Admin (9 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_status` | Check AgenticMail server health |
| `agenticmail_setup_guide` | Compare setup modes (Relay/Beginner vs Domain/Advanced) with requirements, pros/cons |
| `agenticmail_setup_relay` | Configure Gmail/Outlook relay for real internet email (Beginner) |
| `agenticmail_setup_domain` | Set up a custom domain via Cloudflare with optional Gmail SMTP relay (Advanced) |
| `agenticmail_setup_gmail_alias` | Get instructions to add agent email as Gmail "Send mail as" alias (for domain mode) |
| `agenticmail_setup_payment` | Get instructions to add payment method to Cloudflare (self-service link or browser automation) |
| `agenticmail_purchase_domain` | Search domain availability (purchase must be done manually on Cloudflare or other registrar) |
| `agenticmail_gateway_status` | Check email gateway status (relay, domain, or none) |
| `agenticmail_test_email` | Send a test email to verify setup |

### SMS / Phone (8 tools)
| Tool | Description |
|------|-------------|
| `agenticmail_sms_setup` | Configure SMS via Google Voice (phone number + forwarding email) |
| `agenticmail_sms_send` | Send an SMS text message via Google Voice |
| `agenticmail_sms_messages` | List SMS messages (inbound/outbound) |
| `agenticmail_sms_check_code` | Check for recent verification/OTP codes from SMS |
| `agenticmail_sms_read_voice` | Read SMS directly from Google Voice web (fastest method) |
| `agenticmail_sms_record` | Record an SMS from any source into the database |
| `agenticmail_sms_parse_email` | Parse SMS from forwarded Google Voice email |
| `agenticmail_sms_config` | Get current SMS/phone configuration |

### Database Storage (1 tool, 28 actions)
| Tool | Description |
|------|-------------|
| `agenticmail_storage` | Full DBMS โ€” 28 actions for persistent agent data storage |

**Actions:** `create_table`, `list_tables`, `describe_table`, `insert`, `upsert`, `query`, `aggregate`, `update`, `delete_rows`, `truncate`, `drop_table`, `clone_table`, `rename_table`, `rename_column`, `add_column`, `drop_column`, `create_index`, `list_indexes`, `drop_index`, `reindex`, `archive_table`, `unarchive_table`, `export`, `import`, `sql`, `stats`, `vacuum`, `analyze`, `explain`

Tables sandboxed per-agent (`agt_` prefix) or shared (`shared_` prefix). Works on SQLite, Postgres, MySQL, Turso.

## ๐ŸŽ€ AgenticMail vs sessions_spawn โ€” Migration Guide

**If you have ๐ŸŽ€ AgenticMail installed, ALWAYS prefer it over sessions_spawn/sessions_send for agent coordination.**

### What Replaces What

| Old (OpenClaw built-in) | New (๐ŸŽ€ AgenticMail) | Why it's better |
|---|---|---|
| `sessions_spawn(task)` then poll `sessions_history` | `agenticmail_call_agent(target, task)` | One call, structured JSON result back. No polling. |
| `sessions_send(sessionKey, msg)` | `agenticmail_message_agent(name, subject, text)` | By agent name, not session key. Persistent. |
| `sessions_list` + `sessions_history` (poll) | `agenticmail_check_tasks` or `agenticmail_wait_for_email` | Structured status tracking or push-based wait. |
| *(no equivalent)* | `agenticmail_call_agent(async=true)` | Async delegation โ€” agent runs independently and notifies when done. |
| *(no equivalent)* | `agenticmail_claim_task` + `agenticmail_submit_result` | Agent claims work, submits structured results. |
| *(no equivalent)* | `agenticmail_list_agents` | Discover all available agents by name and role. |

### When to Use What

- **Need a result back?** โ†’ `agenticmail_call_agent(target, task)` (sync RPC, up to 10 min)
- **Delegating work for later?** โ†’ `agenticmail_call_agent(target, task, async=true)` โ†’ `agenticmail_check_tasks`
- **Messaging an agent?** โ†’ `agenticmail_message_agent` (by name)
- **Waiting for a reply?** โ†’ `agenticmail_wait_for_email` (push, not polling)
- **Finding agents?** โ†’ `agenticmail_list_agents`
- **Quick throwaway sub-agent?** โ†’ `sessions_spawn` is fine (only use case where it's still ok)

### Why ๐ŸŽ€ AgenticMail Is Better

| Problem with sessions_spawn | ๐ŸŽ€ AgenticMail solution |
|---|---|
| If sub-agent crashes, ALL work is lost | Tasks persist in database, survive crashes |
| No structured results (just text) | JSON results with status lifecycle |
| Must poll sessions_history (wastes tokens) | Push notifications โ€” notified instantly |
| Agents can't find each other | `list_agents` shows all agents by name/role |
| No task tracking (claimed? done? failed?) | Full lifecycle: pending โ†’ claimed โ†’ completed |
| Parent must block waiting | Async: assign and check later |

**Impact:** ~60% fewer tokens on multi-agent tasks. 3-5x more effective workflows.

## Usage Examples

### Send an email

Read emails 5, 12, and 34 at once and summarize the common thread.

read-emails-5-12-and-34-at-once-and-summarize-the-common-thread.txt
## Configuration

Set in your OpenClaw config under `plugins.entries`:
example.json
{
  "plugins": {
    "entries": {
      "agenticmail": {
        "enabled": true,
        "config": {
          "apiUrl": "http://127.0.0.1:3100",
          "apiKey": "ak_your_agent_key",
          "masterKey": "mk_your_master_key"
        }
      }
    },
    "load": {
      "paths": ["/path/to/@agenticmail/openclaw"]
    }
  }
}

Tags

#search_and-research #tools

Quick Info

Category Web Scrapers
Model Claude 3.5
Complexity Advanced
Author ope-olatunji
Last Updated 3/10/2026
๐Ÿš€
Optimized for
Claude 3.5
๐Ÿง 

Ready to Install?

Get started with this skill in seconds

openclaw install agenticmail