← Back to Skills Marketplace
paul-leo

Gmail

by Paul Leo · GitHub ↗ · v0.1.1
cross-platform ✓ Security Clean
821
Downloads
0
Stars
4
Active Installs
2
Versions
Install in OpenClaw
/install gmail-2
Description
[暂不可用] Gmail 邮件集成。收发邮件、搜索邮件、管理标签。通过 MorphixAI 代理安全访问 Gmail API。
README (SKILL.md)

Gmail 邮件(暂不可用)

状态:暂不可用 — Gmail 账号尚未链接,该工具暂时不可使用。如需启用,请通过 mx_link 工具链接 Gmail 账号(app: gmail)。

通过 mx_gmail 工具管理 Gmail 邮箱:读取、搜索、发送邮件,管理标签。

前置条件

  1. 安装插件: openclaw plugins install openclaw-morphixai
  2. 获取 API Key: 访问 morphix.app/api-keys 生成 mk_xxxxxx 密钥
  3. 配置环境变量: export MORPHIXAI_API_KEY="mk_your_key_here"
  4. 链接账号: 访问 morphix.app/connections 链接 Gmail 账号,或通过 mx_link 工具链接(app: gmail

核心操作

查看用户信息

mx_gmail:
  action: get_profile

列出邮件

mx_gmail:
  action: list_messages
  max_results: 10

list_messages 只返回邮件 ID 列表,需用 get_message 获取完整内容。

查看邮件详情

mx_gmail:
  action: get_message
  message_id: "18dxxxxxxxx"

搜索邮件

mx_gmail:
  action: search_messages
  query: "from:[email protected] subject:周报"
  max_results: 5

Gmail 搜索语法支持:

  • from: / to: — 发件人/收件人
  • subject: — 主题
  • is:unread / is:starred — 未读/星标
  • newer_than:7d / older_than:30d — 时间范围
  • has:attachment — 有附件
  • label: — 标签

发送邮件

mx_gmail:
  action: send_mail
  to: "[email protected]"
  subject: "项目更新"
  body: "Hi,项目进展如下:\
1. 完成了 API 开发\
2. 正在编写测试"
  cc: "[email protected]"

列出标签

mx_gmail:
  action: list_labels

标记已读

mx_gmail:
  action: mark_as_read
  message_id: "18dxxxxxxxx"

删除邮件(移入回收站)

mx_gmail:
  action: trash_message
  message_id: "18dxxxxxxxx"

常见工作流

查看未读邮件

1. mx_gmail: list_messages, q: "is:unread", max_results: 5
2. mx_gmail: get_message, message_id: "xxx"  → 逐条查看
3. mx_gmail: mark_as_read, message_id: "xxx"  → 标记已读

搜索并回复(通过发送新邮件)

1. mx_gmail: search_messages, query: "from:[email protected]"
2. mx_gmail: get_message → 查看内容
3. mx_gmail: send_mail, to: "[email protected]", subject: "Re: xxx"

注意事项

  • list_messages 返回的是邮件 ID 列表,需用 get_message 获取完整内容
  • 发送邮件内容为纯文本格式
  • Gmail 搜索语法功能强大,建议充分利用
  • account_id 参数通常省略,工具自动检测已链接的 Gmail 账号
Usage Guidance
This skill appears internally consistent with a Morphix-proxied Gmail integration. Before enabling: 1) verify you trust morphix.app and the openclaw-morphixai plugin (source, publisher, privacy policy); 2) understand that MORPHIXAI_API_KEY will allow Morphix to act on your Gmail via the proxy — review what access the service grants; 3) the skill is currently marked '暂不可用' until you link a Gmail account via mx_link/connections; and 4) because this is instruction-only, no code is installed by the skill itself, but the external plugin must be installed separately. If any of those external dependencies are unfamiliar or untrusted, do not install or provide the API key.
Capability Analysis
Type: OpenClaw Skill Name: gmail-2 Version: 0.1.1 The skill bundle provides documentation and instructions for a Gmail integration via the MorphixAI proxy service. It defines standard email operations such as listing, reading, searching, and sending messages, as well as managing labels. No malicious code, obfuscation, or harmful prompt injection attempts were found; the functionality is transparently documented and consistent with the stated purpose of providing Gmail access to an AI agent.
Capability Assessment
Purpose & Capability
Name/description claim Gmail integration via a MorphixAI proxy. The only required environment variable is MORPHIXAI_API_KEY and the SKILL.md calls mx_gmail/mx_link tools — these are consistent with a proxy-based Gmail adapter. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
The SKILL.md is instruction-only and tells the agent to use mx_gmail actions (list_messages, get_message, send_mail, etc.), to set MORPHIXAI_API_KEY, and to link a Gmail account. It does not instruct reading arbitrary files, other env vars, or sending data to unexpected endpoints beyond morphix.app/mx_gmail.
Install Mechanism
There is no install spec in the registry (lowest technical risk). The README instructs the user to run `openclaw plugins install openclaw-morphixai` and to obtain an API key from morphix.app — this is reasonable but introduces an external dependency. The user should verify the plugin/source (openclaw-morphixai and morphix.app) before installing.
Credentials
Only MORPHIXAI_API_KEY is required, which is proportional: the skill delegates Gmail access to Morphix. It does not request unrelated tokens, passwords, or multiple credentials. Note: the API key grants whatever access Morphix permits, so trust in Morphix is required.
Persistence & Privilege
Flags show no elevated persistence: always is false and the skill is user-invocable. It can be invoked autonomously by the agent (default behavior), which is normal and expected; there is no request to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gmail-2
  3. After installation, invoke the skill by name or use /gmail-2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
- 文档更新:丰富了前置条件,新增了插件安装、API Key 获取、环境变量配置、账号链接等详细说明。 - 操作指引更加分步骤、结构化,提升新用户的接入与配置体验。 - 其余核心操作和用法保持一致。
v0.1.0
- Initial release of the Gmail skill (版本 0.1.0),目前暂不可用。 - 提供通过 MorphixAI 代理访问 Gmail API 的能力,包括收发邮件、搜索邮件、管理标签等。 - 支持多种操作:读取、搜索、发送邮件、管理标签、标记已读、移入回收站等。 - 需配置 `MORPHIXAI_API_KEY` 并通过 `mx_link` 工具链接 Gmail 账号。 - 提供详细的操作指令范例和常见工作流说明。
Metadata
Slug gmail-2
Version 0.1.1
License
All-time Installs 4
Active Installs 4
Total Versions 2
Frequently Asked Questions

What is Gmail?

[暂不可用] Gmail 邮件集成。收发邮件、搜索邮件、管理标签。通过 MorphixAI 代理安全访问 Gmail API。 It is an AI Agent Skill for Claude Code / OpenClaw, with 821 downloads so far.

How do I install Gmail?

Run "/install gmail-2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gmail free?

Yes, Gmail is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Gmail support?

Gmail is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gmail?

It is built and maintained by Paul Leo (@paul-leo); the current version is v0.1.1.

💬 Comments