Skip to main content
Triage incoming email by tagging it. On each inbound message, an LLM picks a category and the agent assigns the matching label. The pattern is webhook → classify → assign label.

1. Create your labels once

2. Classify and assign on inbound

The message’s labels array now includes the assigned label — visible on GET /messages/{id}, in search results, and in the dashboard. Remove a label with POST /labels/{id}/unassign.
Drive the webhook/inbound trigger exactly like the auto-reply agent — verify the signature, then branch on message.received.