1. Cloudflare →
Storage & Databases → KV: create a namespace (e.g.
FAMILY_OPS).
2. Settings → Bindings: add a KV binding named
MAIL_KV pointing at it.
3. Settings → Variables: add
MAIL_TOKEN = any random string (Encrypt). Redeploy.
4. Push your Gmail to this endpoint —
any of these works:
https://daily-planner-6ui.pages.dev/api/mail?t=YOUR_MAIL_TOKEN
•
Google Apps Script (free, recommended) —
open script.google.com ↗,
paste
gmail-to-familyops.gs, set your token, add an hourly trigger.
•
Make.com — Gmail module → HTTP module (POST, auth: None, body: Raw JSON)
•
Zapier — needs a paid plan (Webhooks is premium)
POST a JSON body with:
id,
from,
subject,
snippet (the plain-text body),
date.
5. Paste the same token below.
Only sender, subject, a snippet, and the date are stored — never full email bodies.
Built-in rules already catch most promos & newsletters. Add your own below — one per line or comma-separated. Matches are on the sender or subject text (case-insensitive, partial matches count).