SkillJavaScriptv1.0.0
gmail-last5
summary: "Show the last 5 unique emails in the inbox using gog".
9 downloads
neuralshift1
Updated Feb 20, 2026gmail_last5
When the user runs /skill gmail_last5, do this:
- Run a
gog gmail searchfor the inbox, max 5 newest. - Parse the JSON results.
- Reply with a concise list: sender + subject + date (if present).
Use this command (account may be omitted if default is configured; prefer explicit):
gog gmail search "in:inbox" --max 5 --json --results-only --account william.kettle@neuralshift.co.uk
If the command fails, ask the user to confirm which Gmail account is authenticated in gog.