跳到主要内容
哒哒星球DADA PLANET

Skill · 已公开版本

recipe-send-team-announcement · Gmail 与 Google Chat 双渠道团队通知

通过 gws 命令行同时向团队邮箱发送公告邮件,并在指定 Google Chat 空间发布对应通知,实现双渠道同步告知。

先看看示例

作者提供的示例,实际效果取决于你的输入和使用工具。

输入

向 team@company.com 发送主题为 Important Update 的政策变更邮件,同时在团队 Chat 空间发布提醒查看邮件的消息。

输出

预期交付:一封已发送的公告邮件,以及一条发布到指定 Chat 空间的通知消息。(编辑说明,非实际运行结果)

方法说明

---
name: recipe-send-team-announcement
description: "Send a team announcement via both Gmail and a Google Chat space."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "communication"
    requires:
      bins:
        - gws
      skills:
        - gws-gmail
        - gws-chat
---

# Announce via Gmail and Google Chat

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`, `gws-chat`

Send a team announcement via both Gmail and a Google Chat space.

## Steps

1. Send email: `gws gmail +send --to team@company.com --subject 'Important Update' --body 'Please review the attached policy changes.'`
2. Post in Chat: `gws chat +send --space spaces/TEAM_SPACE --text '📢 Important Update: Please check your email for policy changes.'`