Gmail Last5

Other

Retrieve and display the sender, subject, and date of the last 5 unique emails in the Gmail inbox using gog.

Install

openclaw skills install gmail-last5

gmail_last5

When the user runs /skill gmail_last5, do this:

  1. Run a gog gmail search for the inbox, max 5 newest.
  2. Parse the JSON results.
  3. 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.