Inbox Summary Skill
A daily summary of your unread email, categorized into Action Required, FYI, and Newsletter buckets — so you walk in already knowing which emails actually need a reply.
The Problem
Inboxes don't sort themselves. By 9am you've already triaged 30 emails to find the 3 that matter. A daily digest at 7am turns that 30-minute slog into a 30-second read.
How It Works
A scheduled InTouch job runs every morning:
google_workspacetask withservice: gmaillists unread messages from the last 24 hours- The JSON output is passed to the
inbox-summaryskill - AI categorizes each email into ACTION REQUIRED / FYI / NEWSLETTER
- The
messagetask delivers the digest via email or Slack
Setup
- Install this skill
- Set up a
google_workspaceconnection (service-account or OAuth — see the Google Workspace tool's README) - Confirm the connection has Gmail read scope (
https://www.googleapis.com/auth/gmail.readonly) - Use the YAML below; schedule for 7am daily
Example YAML Job
name: inbox-summary-daily
version: 1.0.0
description: Daily Gmail unread digest, categorized
notifications:
- userNames: [intouch]
alertOnError: true
tasks:
- name: fetch-unread
tool: google_workspace
credentialName: my-google
properties:
service: gmail
operation: search
args: "is:unread newer_than:1d --max 100 --results-only"
outputFormat: json
- name: digest
tool: skill
properties:
skillName: inbox-summary
input: "{{fetch-unread.output}}"
- name: send
tool: message
properties:
subject: "Inbox summary"
body: "{{digest.answer}}"
userNames: "intouch"
Customization
- Time window —
newer_than:24hvsnewer_than:8hfor shorter cycles - Multiple accounts — duplicate the
fetch-unreadtask withaccount: [email protected]and concatenate - Bucket rules — edit SKILL.md to be more or less aggressive about ACTION REQUIRED vs FYI
- Important-senders override — add a section to SKILL.md listing senders that always go to ACTION REQUIRED
Notes
- The exact
argsshape forgoogle_workspace gmail searchdepends on the underlying Google Workspace CLI version (InTouch bundles gog 0.19, where the Gmail query is positional —is:unread …— not a--queryflag) — verify by runningintouch-tool/help google_workspace gmailfirst if the call fails - The skill expects a JSON list of messages with
from,subject,snippet,received_at. If your Google Workspace tool emits a different shape, the skill is robust to common variations but check the first few runs
Cost
- Gmail API: free under quota (1 billion quota units/day)
- AI assistant: ~$0.005/day with Claude Haiku for typical inbox sizes; ~$0.02 for high-volume inboxes (>100 unread/day)
Roughly $0.30/month for a typical user.