Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gmail-trigger

Skill by vellum-ai

Gmail Triggers (Beta) polls Gmail on a schedule and wakes the assistant only when new mail arrives. It suits users who want hands-off inbox monitoring, such as alerts for urgent mail or digests of newsletters.

  • Score 81
  • 1.5k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gmail-trigger

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vellum-ai/vellum-assistant /tmp/vellum-assistant && mkdir -p ~/.claude/skills && cp -r /tmp/vellum-assistant/skills/gmail-trigger ~/.claude/skills/gmail-trigger

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gmail-trigger in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Gmail Triggers (Beta) polls a user's Gmail inbox on a cron schedule and escalates to the assistant only when a new message arrives. An empty poll spends no LLM tokens. The user sets a standing instruction, such as being pinged only about urgent mail, having newsletters digested, or having invoices forwarded. It can watch one or several Google accounts.

The poll runs as a script-mode schedule and syncs incrementally through Gmail's History API using the user's Google OAuth connection. Watermarks and dedup records are stored per mailbox in SQLite, and escalation is committed before the digest is sent, so a retried run does not escalate the same message twice. Nothing is written to Gmail, and read or unread state is not changed. It is aimed at people who want hands-off monitoring of their inbox.

Written from the project's SKILL.md and checked against it.

What it can do

  • Urgent mail alertsPings the user only about new mail that matches a standing instruction, such as urgent messages.
  • Newsletter digestsSummarizes new newsletters and flags anything the user asked to see.
  • Invoice forwardingForwards invoices as they arrive, based on the user's action prompt.
  • Multi-account watchingWatches one or several Google connections and delivers one combined digest.
  • Empty-poll efficiencySkips any model call when no new mail has arrived since the last poll.
  • Duplicate protectionCommits watermarks and a reported-message ledger before escalating, so messages are not escalated twice.
  • Expiry recoveryRe-baselines and catches up with a one-day inbox search if Gmail history has expired.
  • Editable scheduleStores its configuration in the schedule command and lets the user edit the poll script directly.

What you need

  • A Vellum personal assistant
  • A connected Google account with Gmail read access
  • Bun runtime to run the poll script

Try asking

  • Ping me only when an email that needs a reply arrives
  • Summarize newsletters and flag anything from my boss
  • Watch my inbox and forward every new invoice to me

Good to know

  • Beta release
  • Read-only: nothing is written to Gmail and read or unread state is untouched
  • Gmail keeps history for roughly a week
  • The digest carries full metadata for the 50 newest messages

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/gmail-trigger/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • scripts/poll.ts16 KB

Alternatives to gmail-trigger

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

gmail-trigger: common questions

Does it use AI tokens when there is no new email?

No. The poll is deterministic and the model is only called when new mail arrives, so an empty poll spends zero LLM tokens.

Can it watch more than one Gmail account?

Yes. One schedule can watch several accounts by passing one account flag per inbox, and it delivers one combined digest.

Will it send the same alert twice?

The source says each account's watermark and reported-message ledger are committed before the digest is escalated, so a retried or restarted run does not escalate the same message twice.

How do I install gmail-trigger?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gmail-trigger free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is gmail-trigger safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gmail-trigger?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

gmail-trigger Install

Add to stack

Loading.