Sort my inbox every morning
A label on each new e-mail, and a short list of what needs a reply.
- On a schedule: Every weekday at 7:30
What it does
The task
Read the e-mail in my Gmail inbox that arrived since the last run. Apply my labels with these rules: rules. Archive newsletters and notifications, and note anything important in them. Do not delete e-mail. Then send me a brief: each e-mail that needs a reply, the most urgent first, with one line and its deadline.
- It works in Gmail, in the workspace you pick, and signs in with passwords from your Cuiar vault.
- As a routine it runs every weekday at 7:30 (cron
30 7 * * 1-5).
What you give it
| Blank | What to give | Example |
|---|---|---|
| rules | Your labels and the rule for each one | Clients: mail from @halden.com or @kestreldata.io. Finance: invoices. Hiring: candidates |
What you get back
An example run with the example values above. Your run uses your own data.
12 new e-mails: 5 Clients, 3 Finance, 1 Hiring, 3 archived
Needs a reply, most urgent first
1. Eva Lindqvist, Halden Group: asks for the signed MSA. Due today.
2. Omar Said: needs the Q4 headcount numbers. Due Thu 5 Nov.
3. Jordan Wu, Kestrel Data: asks for a call next week. No deadline.
From the newsletters
- Cloudbase raises its prices on 1 Jan.
Nothing deleted.
Run it in Cuiar
- 01
Open it
Click Use in Cuiar on this page. The side panel opens with the task in the composer.
- 02
Fill in the blank
Type rules. Tab moves to the next blank.
- 03
Run it, then repeat it
Run sends it once. To run it every weekday at 7:30, make a routine on cuiar.com/routines or with the CLI below.
As a routine, from the terminal
cuiar routines create "Sort my inbox every morning" --schedule "30 7 * * 1-5" --time-zone Europe/Berlin \
"Read the e-mail in my Gmail inbox that arrived since the last run. Apply my labels with these rules: Clients: mail from @halden.com or @kestreldata.io. Finance: invoices. Hiring: candidates. Archive newsletters and notifications, and note anything important in them. Do not delete e-mail. Then send me a brief: each e-mail that needs a reply, the most urgent first, with one line and its deadline."Run it from your AI agent
Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call create_routine yourself.
1. Add Cuiar to Claude Code
claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp2. Ask your agent
Use the Cuiar tool create_routine to run my "Sort my inbox every morning" template with rules = Clients: mail from @halden.com or @kestreldata.io. Finance: invoices. Hiring: candidates.Setup for other agents: AI agents.
The tool call
{
"name": "create_routine",
"arguments": {
"name": "Sort my inbox every morning",
"task": "Read the e-mail in my Gmail inbox that arrived since the last run. Apply my labels with these rules: Clients: mail from @halden.com or @kestreldata.io. Finance: invoices. Hiring: candidates. Archive newsletters and notifications, and note anything important in them. Do not delete e-mail. Then send me a brief: each e-mail that needs a reply, the most urgent first, with one line and its deadline.",
"schedule": "30 7 * * 1-5",
"time_zone": "Europe/Berlin"
}
}Related templates
All ops templatesOpsAsks first
Follow up on e-mail with no reply
A polite follow-up in each thread. Nothing goes out before you approve it.
On a schedule: Every weekday at 16:00- Gmail
Ops
Collect last month's invoices
The vault signs in to each account. All PDFs go to one folder.
On a schedule: On the 1st of each month at 9:00- Gmail
- Google Drive
Ops
Send me my agenda and tasks every morning
Today's meetings with their links and documents, and the tasks that are due, in one e-mail.
On a schedule: Every weekday at 7:00- Google Calendar
- Asana
- Gmail
OpsAsks first
Find a meeting time and reply with options
Three free times from your calendar in a draft reply to each meeting request. You approve each reply.
On an event: When an e-mail asks you for a meeting- Gmail
- Google Calendar
OpsAsks first
Accept or decline meeting invitations by your rules
A suggested answer and a reason for each new invitation, with a short note for each decline.
On an event: When a new meeting invitation arrives- Google Calendar
- Gmail
OpsAsks first
Send a recap and action items after each meeting
Decisions, owners and due dates from the meeting transcript, in a draft e-mail to the guests.
On an event: When a meeting with a transcript ends- Google Calendar
- Google Meet
- Google Docs
- +1 more: Gmail