mcpField
O
outlook

outlook

github.com/refly-ai生产力204403 次安装38 周前更新
代码仓库

关于 outlook

面向 Outlook 邮件与日历操作的技能,通过 Refly 工作流自动处理日常通信。输入邮件或活动信息的 JSON,并可查询工作流状态。

主要功能

  1. 01发送和管理邮件
  2. 02创建日历活动
  3. 03通过 Refly 工作流执行操作
  4. 04查询执行状态

适用场景

  1. 01发送会议跟进邮件
  2. 02创建包含参与者的日历活动

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/refly-ai/refly-skills --skill outlook

安装后在 Claude Code 中输入/outlook确认已加载。

附带文件README.md

详细介绍

Outlook

集成 Microsoft Outlook 以处理电子邮件。适用于需要:(1)发送和管理电子邮件,(2)创建日历事件,或(3)自动化电子邮件通信工作流的场景。

输入

以 JSON 格式提供输入:

{
  "recipient_email": "Email address of the recipient",
  "email_subject": "Subject line for the email",
  "email_body": "Content of the email message",
  "event_title": "Title of the calendar event",
  "event_start_time": "Start time of the event (e.g., 2024-03-15T10:00:00)",
  "event_duration": "Duration of the event in minutes",
  "event_attendees": "Email addresses of attendees (comma-separated)"
}

执行(模式 C:操作)

步骤 1:运行 Skill 并获取运行 ID
RESULT=$(refly skill run --id skpi-p7fc1qhsbq4qo59qh99ibjk9 --input '{
  "to": "[email protected]",
  "subject": "Meeting Follow-up",
  "body": "Thank you for attending the meeting."
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands
步骤 2:在浏览器中打开工作流并等待完成
open "https://refly.ai/workflow/c-ijhh2q58vevqx5aq2ynciwrx"
refly workflow status "$RUN_ID" --watch --interval 30000
步骤 3:确认操作状态
# Confirm email sent
STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status')
echo "Action completed with status: $STATUS"

预期输出

  • 类型:API 响应
  • 格式:JSON 电子邮件确认信息
  • 操作:确认电子邮件已成功发送

规则

遵循基础 Skill 工作流:~/.claude/skills/refly/SKILL.md

评论

支持 Markdown