AgentSkillsCN

gmail-client-PM

通过Gmail读取与发送邮件。可用于列出未读邮件、按ID阅读特定邮件,或发送新邮件。

SKILL.md
--- frontmatter
name: gmail-client-PM
description: Read and send emails via Gmail. Use to list unread messages, read specific emails by ID, or send new emails.

Gmail Client

A simple Python-based tool to interact with Gmail using IMAP/SMTP.

Configuration

Requires GMAIL_USER and GMAIL_PASS (App Password) environment variables.

Usage

List Unread Emails

bash
python3 skills/gmail-client/scripts/gmail_tool.py list

Read an Email

bash
python3 skills/gmail-client/scripts/gmail_tool.py read <EMAIL_ID>

Send an Email

bash
python3 skills/gmail-client/scripts/gmail_tool.py send <TO> <SUBJECT> <BODY>