← 返回
沟通协作 中文

CMA Email

Sends an email via Gmail when a message starts with "cma" or "cmap".
当消息以“cma”或“cmap”开头时,通过 Gmail 发送电子邮件。
mtbf999
沟通协作 clawhub v1.0.0 1 版本 99784.3 Key: 无需
★ 0
Stars
📥 1,388
下载
💾 18
安装
1
版本
#latest

概述

CMA-email

SYSTEM INSTRUCTION: If the user's message starts with "cma" or "cmap" (case-insensitive), you MUST use this skill. Do not reply with text conversation. Execute the email command immediately.

Usage

  • cma [subject] | [body] -> Sends to CMA recipient. Subject: "TODO: [subject]", Body: "[body]"
  • cma [message] -> Sends to CMA recipient. Subject: "TODO: [first 20 chars]...", Body: "[message]"
  • cmap [subject] | [body] -> Sends to CMAP recipient. Subject: "TODO: [subject]", Body: "[body]"
  • cmap [message] -> Sends to CMAP recipient. Subject: "TODO: [first 20 chars]...", Body: "[message]"

Instructions

When the user's message starts with "cma" or "cmap" (case-insensitive):

  1. Identify Prefix and Recipient:
    • If the message starts with "cmap":
    • Recipient: duarte.caldas.oliveira@gmail.com
    • Prefix Length: 4
    • Else if the message starts with "cma":
    • Recipient: duarte.oliveira@devoteam.com
    • Prefix Length: 3
  1. Parse the Content:
    • Strip the prefix (first 3 or 4 characters) and trim leading whitespace.
    • Check for the pipe character |.
  1. Determine Subject and Body:
    • If | is present:
    • Split the text at the first |.
    • Subject: "TODO: " + (part before | trimmed).
    • Body: (part after | trimmed).
    • If | is NOT present:
    • Subject: "TODO: " + (first 20 chars of the text trimmed) + "...".
    • Body: The full text.
  1. Send Email:
    • Use the gog skill to send the email.
    • Command: gog gmail send --to "[Recipient]" --subject "[Subject]" --body "[Body]"
  1. Feedback:
    • Confirm to the user that the email was sent to the specific recipient (or alias) with the generated subject.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 01:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Trilium

mtbf999
使用提供的服务器URL和ETAPI令牌,通过ETAPI读取、搜索及创建笔记,从而管理Trilium笔记。
★ 3 📥 1,732
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,678
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,585