agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

Install

Hot:6

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=composiohq-composio-skills-agent-mail-automation&locale=en&source=copy

Agent Mail Automation - Email Task Automation Skill

Skill Overview


Automate Agent Mail email operations with Rube MCP (Composio), enabling automated workflows for tasks such as sending, reading, searching, and managing emails.

Suitable Scenarios

  • Bulk Email Processing

  • When you need to perform batch operations on a large number of emails, this skill can automate repetitive tasks such as categorization, archiving, and labeling.

  • Email Automation Workflows

  • Build workflows triggered by emails—for example, intelligent email handling scenarios like automatic replies, forwarding, and conditional categorization.

  • Agent Mail API Integration

  • Without directly calling complex APIs, use Rube MCP to simplify Agent Mail integration and operations, reducing development barriers.

    Core Features

  • Tool Discovery and Architecture Retrieval

  • Dynamically obtain the latest tool architecture and available actions for Agent Mail via RUBE_SEARCH_TOOLS, ensuring you use the most up-to-date API definitions and avoid hardcoding outdated tool parameters.

  • Connection Management

  • Use RUBE_MANAGE_CONNECTIONS to manage Agent Mail service connections. This includes checking connection status, handling authentication, and managing sessions to ensure the connection is active before execution.

  • Bulk Execution of Multiple Tools

  • Use RUBE_MULTI_EXECUTE_TOOL to run multiple Agent Mail operations within a single session, supporting complex email workflows such as chained actions like read → process → reply.

    Common Questions

    What prerequisites are needed for Agent Mail Automation?


    You need the Rube MCP service to be configured and available, and you must authorize the Agent Mail account via Composio. The specific steps are: add https://rube.app/mcp as the MCP server in the client configuration, then activate the agent_mail tool package using RUBE_MANAGE_CONNECTIONS.

    How do you discover available email operation tools?


    Always start by calling RUBE_SEARCH_TOOLS to search for Agent Mail-related actions. For example, input queries: [{use_case: "Send email"}]. The result will include available tool slugs, the input architecture, and a recommended execution plan. Since the tool architecture can change, you should re-search before each execution.

    What are common errors when executing tools?


    The most common error is skipping tool search and hardcoding tool parameters, which leads to architecture mismatch errors. Another failure is executing tools without checking connection status. The correct process is: search for tools → verify connection status is ACTIVE → execute the tool using the exact architecture returned from the search.