gmail_last5
Skill by neuralshift1
Why use this skill?
Quickly fetch and summarize the latest five emails in your Gmail inbox directly from your OpenClaw agent. Streamline your workflow.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/neuralshift1/gmail-last5What This Skill Does
The gmail_last5 skill, developed by neuralshift1, provides a seamless interface for your AI agent to fetch and summarize your most recent emails directly from your Gmail inbox. By executing a targeted search via the gog command-line utility, this skill parses the inbox for the five most recent messages and presents them in a clean, readable format containing the sender, subject line, and timestamp. This allows you to stay updated with your communications without leaving your terminal or switching contexts between tabs, significantly boosting your workflow efficiency.
Installation
To install this skill, run the following command in your OpenClaw environment:
clawhub install openclaw/skills/skills/neuralshift1/gmail-last5
Ensure that you have the gog utility properly configured with your Gmail credentials. If the command fails during execution, the skill is designed to prompt you to verify which Gmail account is currently authenticated.
Use Cases
This skill is ideal for rapid inbox triaging. Use it when you are deep in a coding session or data analysis task and need to check for urgent emails without breaking your concentration. It is particularly useful for monitoring specific project threads or waiting for time-sensitive notifications, such as CI/CD deployment results or client updates, allowing you to react immediately without the cognitive overhead of full email client navigation.
Example Prompts
- "What are the latest five emails in my inbox?"
- "Show me what I missed in Gmail today."
- "Summarize the recent messages from my inbox using the gmail_last5 skill."
Tips & Limitations
- Account Configuration: This skill defaults to specific accounts for reliability. If you manage multiple Gmail aliases, ensure the
gogtool is set to your primary account or explicitly define the account flag in the script. - Data Privacy: Because this tool interacts with your email API, ensure your environment is secure and that you only grant access to accounts where you trust the local execution environment.
- Conciseness: The output is designed for brevity. If you need to read the full body of an email, this skill acts only as a gateway; it does not replace a full email client for composing or deep reading. If the command fails, check your internet connectivity or authentication status using
gog auth statusbefore troubleshooting further.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-neuralshift1-gmail-last5": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api