Before: open every inbox. Now: one summary at 8.

Before: open every inbox. Now: one summary at 8.
If you run an agency or any service business, you probably have more than one inbox. A main one, a support one, maybe one per brand. The default way to handle that is to open each of them in a browser tab and look. It works until the number of tabs grows faster than the number of hours in your morning.
I stopped doing that. My rule is that email work does not happen on the Gmail website. It goes through one command line that reads and searches all of my inboxes. Behind that command line, every inbox runs its own small watcher. This post explains how the watcher works, what it deliberately cannot do, and how you can build a small version of it for free.
What each inbox runs
Each of my Gmail inboxes runs its own Google Apps Script. Apps Script is Google's own scripting tool, and it runs inside your Google account. There is no server to rent and no billing to set up. It is documented at developers.google.com/apps-script.
That script does a short list of jobs:
- Every hour, it labels certain incoming mail, so mail that needs attention is grouped before I look at anything.
- At 8:00, it sends one summary email to the inbox, but only on days when something happened. A quiet day sends nothing.
- Follow-ups are written as drafts for me. A draft is just a draft: it sits in the drafts folder until I decide what to do with it.
Nothing is sent until I approve it. That is the part I care about most, and it is the part people ask about first, so it gets its own section below.
The one command line
On top of the scripts sits one command line. It is how I read inbox status, search, and queue outgoing mail for every inbox at once. The practical effect is that I stopped opening each Gmail inbox on the Gmail website. I ask the command line instead, and the hourly labels and the 8:00 summary mean there is usually less to ask about.
The same command line is how my coding agents read email. That is why the rule is strict: one door into the inbox, with the same approval step for everyone who uses it.
The catch: it drafts, it does not send
The fear with any email automation is simple. Software that drafts things can also send things, and one wrong send to the wrong person cannot be undone.
So the setup is built the other way around. Follow-up drafts get written for me. Outgoing mail waits in a queue. Nothing leaves until I approve it. If I do nothing, nothing happens. For a service business, where an email to a client is a promise, I think that default matters more than any time saved.
What this does not claim
I want to be exact here, because automation posts usually are not.
- I am not claiming this saves a specific number of hours. I have not measured it and I will not invent a figure.
- I am not claiming it replaced a person or an assistant. It did not, and nobody else's work is part of this story.
- I am not describing what any of it costs beyond this: the Google script itself needs no server and no billing.
What I can say is what it does today, which is the list above.
Build a small version yourself
Here is a minimal version you can paste into a new project at script.google.com. It is not my production script. It shows the two ideas that matter: an hourly job that labels mail, and a daily summary that only sends when there is something to say.
// Hourly: label mail from the last hour that matches your rule.
function labelNewMail() {
var label = GmailApp.getUserLabelByName('Needs a look') ||
GmailApp.createLabel('Needs a look');
var threads = GmailApp.search('in:inbox newer_than:1h subject:invoice');
if (threads.length) label.addToThreads(threads);
}
// Daily at 8: send one summary, but only if something is labelled.
function dailySummary() {
var label = GmailApp.getUserLabelByName('Needs a look');
if (!label) return;
var threads = label.getThreads(0, 20);
if (!threads.length) return; // quiet day: send nothing
var lines = threads.map(function (t) { return '- ' + t.getFirstMessageSubject(); });
MailApp.sendEmail(Session.getActiveUser().getEmail(),
'Inbox summary',
lines.join('\n'));
}
// Run this once to set both schedules.
function setup() {
ScriptApp.newTrigger('labelNewMail').timeBased().everyHours(1).create();
ScriptApp.newTrigger('dailySummary').timeBased().atHour(8).everyDays(1).create();
}
Three notes before you use it:
- Run
setup()once. It asks you to approve the permissions the script needs, and it creates the two schedules. - The summary mails you, not anyone else. Keep it that way at first. A script that only talks to you cannot embarrass you.
- Google applies daily quotas to Apps Script and Gmail, so a very busy inbox may hit limits. Check the quota page in the Apps Script documentation before you point it at a large mailbox.
What to do this week
Pick one inbox. Write down the one kind of mail you always scan for, such as invoices, a certain client, or a form. Build the hourly label for just that, and add the summary only after the label works for a few days. Leave sending out of it completely. Drafts and summaries are enough to change how your morning starts.
One question for you: how many inboxes do you open before your first real task of the day?