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.
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-triggerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant /tmp/vellum-assistant && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vellum-assistant/skills/gmail-trigger ~/.gemini/antigravity-cli/skills/gmail-triggerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
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.
