Inbox triage is a classification task with a clear output: each message gets a label, and the labels decide what happens next. The Make pattern is a Gmail trigger that watches the inbox, an AI module that classifies each message by intent, and a router that sends each class to its own destination. Use labels, not folders, for the triage result, so a message can carry both its urgency and its topic. Start with three labels, such as action, waiting, and reference, and add more only when messages keep landing in the wrong one.
What you need
- A Gmail inbox the agent may read
- Three labels to triage into: action, waiting, and reference
- Ten recent messages to use as the test set
Step 1: Connect Gmail with a watch on the inbox
Add the Gmail watch-emails trigger to the scenario, pointed at the inbox, and set a filter if you only want one label’s mail triaged. The trigger is what starts the run.
Step 2: Classify each message into one of three labels
Add the AI module with a prompt that classifies each message into action, waiting, or reference, using only the subject and body. Keep the temperature low so the same message gets the same label.
Step 3: Run the ten test messages and check the labels
Run the scenario on the ten test messages and confirm each label is right. If a message lands in the wrong label, the prompt needs the distinction that separates them.
Worked example: synthetic inbox triage
The table below is a synthetic example. It shows the expected result of the triage; no inbox was read.
| Message | Label given | Correct? |
|---|---|---|
| Invoice overdue notice | Action | Yes |
| Newsletter this week | Reference | Yes |
| Client question, no deadline | Waiting | Yes |
| All 10 test messages correct | Yes | Pass |
Expected result (UNTESTED). all ten test messages land in the right label, with action, waiting and reference used as intended. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Classification needs a low temperature; a high one gives the same message different labels.
- Three labels are enough to start; more labels need more test messages to prove.
- The agent reads only the mail the trigger sends; older mail is not re-triaged.
- A label is a suggestion until a person confirms it; do not auto-archive on the agent’s say-so alone.
