Weekend plans
Leah Cox
Leah Cox
Describe how you want your inbox grouped. AI filters suggest categories you can save as a view.
Leah Cox
Automate your inbox with JavaScript you or your agents write.
Give new invoices high priority so they stand out in your inbox.
mailbit.on("email.received", async ({ email }) => {
if (!email.subject.toLowerCase().includes("invoice")) return;
await mailbit.email.setPriority(email.id, "high");
});Create a task for each selected email, with a link back to the original message.
mailbit.command("Create reply tasks", async ({ selection }) => {
for (const email of selection.emails) {
await mailbit.task.create({
title: "Reply to " + email.subject,
source: { type: "email", id: email.id },
});
}
});Save a quick acknowledgment in Drafts so you can review it before sending.
mailbit.command("Draft acknowledgment", async ({ selection }) => {
const [email] = selection.emails;
if (!email) return;
await mailbit.email.createDraft({
to: [email.from.address],
subject: "Re: " + email.subject,
body: "Thanks for sending this. I'll take a look.",
replyTo: email.id,
});
});Put messages from a project address into an existing category as they arrive.
mailbit.on("email.received", async ({ email }) => {
if (email.from.address !== "updates@example.com") return;
await mailbit.email.categorize(email.id, "Project updates");
});AI requests go through Vercel AI Gateway with ZDR enforced.
Product analytics stay off until you turn them on.
Desktop sessions stay in your system’s secure storage.
$0/ month
Download Mailbit