Set Up 1hSaved

Choose your method. Both are free.

Manual Setup — Follow Along

This tutorial shows you exactly how Gmail filtering with AI works. No account needed.

1

Create a New Google Sheet

Go to sheets.new to create a blank Google Sheet. Name it "1hSaved".

2

Open Apps Script

In your sheet, click Extensions → Apps Script. This opens the script editor.

Delete any code already there (the default myFunction).

3

Paste the 1hSaved Script

Copy ALL the code below and paste it into the Apps Script editor:

1hSaved.gs — Full Script
// Script loads here — see below

After pasting, click the 💾 save icon (or Ctrl+S).

4

Get Your Free Gemini API Key

You need a free API key from Google to power the AI scanning.

  1. Go to aistudio.google.com/apikey
  2. Click "Create API Key"
  3. Select any Google Cloud project (or create one — it's free)
  4. Copy your API key
💡 The free tier gives you 15 requests per minute — more than enough for email scanning.
5

Go Back to Your Sheet & Install

Go back to your Google Sheet tab. You should see a new menu: âąī¸ 1hSaved

Click âąī¸ 1hSaved → 🚀 Install My Scanner

â„šī¸ Google will ask you to authorize permissions. Click "Advanced" → "Go to 1hSaved (unsafe)" → "Allow". This is normal for any Apps Script — it only accesses YOUR account.
6

Add Your API Key

After install, go to the Settings tab in your sheet. Paste your Gemini API key in the "Gemini API Key" row (column B, row 2).

That's it! The scanner runs every minute automatically.

✅ Done! Check the Logs tab to see scanned emails. Check Results for flagged important ones. Edit Settings to customize.

Automatic Setup — Fastest Way

Get a pre-built Google Sheet with everything ready. Just add your API key and click Install.