Ask every event a question.
A developer-first library to have Jev integrated into your users' inbox, calendar, Slack channels and more!
Deck for Monday?Invoice 4471 is readyRe: contract redlinesThe Weekly Digest #212Offsite headcountCoffee next week?Can you approve the PO?PR #1042 merged
Deck for Monday?0.88Invoice 4471 is ready0.07Re: contract redlines0.93The Weekly Digest #2120.01Offsite headcount0.91Coffee next week?0.62Can you approve the PO?0.90PR #1042 merged0.03
JevDoes this email need a reply today?0.85 or more → label “Reply today”Under 0.85 → left aloneNew emails →- Gmail
- Outlook
- Google Calendar
- Slack
- Microsoft Teams
- Discord
- Linear
- GitHub
- Notion
- Google Drive
- Twitch
- YouTube
How it works
Dana is one of your users. For each new email in Dana's inbox, Jev answers your question with a number from 0 to 1. At 0.85 or more, the monitor adds the label “Reply today”.
- Watch Each new email
- Ask Jev answers with a number from 0 to 1
- Act At 0.85 or more, add the label
import { monitor, noul } from "jev-events";
import { google } from "@jev-events/google";
const mail = monitor({
source: google.gmail.inbox(),
questions: {
needsReply: noul(
"Does this email need a reply today?",
),
},
});
mail.on("needsReply", { min: 0.85 },
google.gmail.label("Reply today"));
await mail.start();Monitors start in dry-run. They report what they would do until you set dryRun: false.
Email
needsReplyAlex Kim
Photos from Saturday– Here are the ones I promised!
New0.41
Google Calendar
Updated invitation: Q4 planning– Sarah Chen updated the event.
New0.12
Linear
Your weekly summary– 12 issues closed, 4 opened.
New0.02
Marco Rossi
Reply todayOffsite headcount– Are you coming on the 14th? I need numbers by Friday.
New0.91
GitHub
[acme/app] PR #1042 merged– Merged into main by marco-r.
New0.03
Northwind Billing
Invoice 4471 is ready– No action needed. It will be paid automatically.
New0.07
Priya Patel
Reply todayDeck for Monday?– Could you send me the latest version tonight?
New0.88
The Weekly Digest
Issue #212– Three essays on remote work, and a reading list
New0.01
Uber
Your Thursday evening trip– Thanks for riding, Dana. Total $18.40
New0.02
Sarah Chen
Reply todayRe: contract redlines– Can you sign off by 5pm? Legal is waiting.
New0.93
Alex Kim
Photos from Saturday– Here are the ones I promised!
0.41
Google Calendar
Updated invitation: Q4 planning– Sarah Chen updated the event.
0.12
Linear
Your weekly summary– 12 issues closed, 4 opened.
0.02
Marco Rossi
Reply todayOffsite headcount– Are you coming on the 14th? I need numbers by Friday.
0.91
GitHub
[acme/app] PR #1042 merged– Merged into main by marco-r.
0.03
Northwind Billing
Invoice 4471 is ready– No action needed. It will be paid automatically.
0.07
The monitor checks Dana's inbox for new email every 15 seconds.
Jev answers in about 200 ms for $0.042 per million input tokens. Output is free. (TypeSafe's published figures.)
Works with
- GmailAnalyse incoming mail
- OutlookSort new email
- Google CalendarWeigh new invites
- SlackWatch channel messages
- Microsoft TeamsWatch team chats
- DiscordWatch server messages
- LinearTriage new issues
- GitHubTriage issues and PRs
- NotionFollow page edits
- Google DriveCheck new files
- TwitchModerate live chat
- YouTubeRead new comments
Try it out on a live
Twitch chat.
Rather not run it yourself? Hosted monitors are coming.