Context & tools
The material the work starts from: the sources, documents and tools a team already relies on.
Gmail and Outlook filters work by keyword. AI email filters work by intent. A single LLM call classifies the message, decides the action (archive, label, forward, draft, push to CRM), and applies it through the inbox API. Cost is typically under a cent per email at scale.
| Feature | Native (Gmail / Outlook) | AI email filter |
|---|---|---|
| Sender + subject + body conditions | Yes | Yes, plus semantic conditions in plain English |
| Action: archive / label / forward | Yes | Yes, plus draft replies and structured handoff |
| Handles ambiguity ("looks like a sales pitch") | No | Yes |
| Learns from corrections | No | Yes, feedback loop on misclassifications |
| Cross-thread context ("from the Acme deal thread") | No | Yes |
| Routes to CRM / tickets / Slack | Limited | Yes, native |
| Audit trail | Limited | Full request-level audit at the gateway |
| Cost | Free | Pay-per-token, typically <$0.01 per filter call |
Auto-label and archive routine digests so the inbox shows real work. AI filters can also extract the one or two actionable items from a digest into a daily summary.
Classify support email by topic, urgency, and product area. Forward to the right team inbox or ticket queue. AI handles ambiguous cases (a billing email mentioning a feature bug) better than keyword rules.
Detect replies that move a deal forward (request for proposal, meeting accepted, pricing question) and update the CRM record automatically.
Generate a context-aware out-of-office reply that points specific senders to specific colleagues, not a single generic auto-responder.
Pull invoices and receipts out of the inbox, extract line items, push to accounting or expense systems.
"From my boss, anything time-sensitive, push to top of inbox; from external recruiters about the same role twice, archive." Native filters cannot express these.
Four parts. Inbox connector: Gmail API or Microsoft Graph for Outlook. Classifier: Claude Haiku 3.5 or Gemini 2.5 Flash, both under $1 per million input tokens. Action layer: write back through the same inbox API plus any downstream systems (Salesforce, HubSpot, Slack, ticketing). Gateway: Swfte or similar for routing, prompt caching, audit, and per-user cost ceilings.
Typical build cost: 1-2 person-weeks for a baseline filter set covering 5-10 common rules. Operating cost: a power user processing 200 emails per day spends under $1 per month on tokens. Most cost comes from the inbox API rate limits at very high volume, not the LLM.
The full code-and-config stack for this build is documented in the Swfte how-to-create-email-filters guide.
An AI email filter is a rule or agent that uses an LLM to decide what to do with an incoming email: label, archive, forward, draft a reply, push to a downstream system. Unlike traditional Gmail or Outlook filters, AI filters can act on semantic conditions ("looks like a sales pitch") rather than just keyword matches.
Two paths. Use a managed tool (Superhuman AI, Spark AI, Shortwave, Lindy, Notion Mail) that ships AI filters as a feature on top of your existing Gmail or Outlook account. Or build your own with an LLM (Claude Sonnet 4 or GPT-5.5 mini) plus an inbox connector (Gmail API, Microsoft Graph) plus a gateway like Swfte for routing and audit. The build-your-own path is typically 1-2 person-weeks for a baseline filter set.
Gmail filters are deterministic: if X then Y. They match sender, subject, body keywords. AI email filters are probabilistic and semantic. They understand intent, tone, and context, including across multi-turn threads. Gmail filters are free and brittle; AI filters cost a fraction of a cent per call and handle messy real-world email better. Most teams in 2026 layer AI filters on top of Gmail or Outlook filters, not as a replacement.
For consumers and SMB: Superhuman AI ($30/mo), Spark AI (Free → $8), Shortwave (Free → $9), Notion Mail. For organisations needing a fleet of email agents on shared governance: Swfte. For sales / support teams specifically: Lindy or Swfte personal assistant template.
Consumer plans range $8-$30 per seat per month bundled with the email client. On a build-your-own stack the LLM cost per filter call is roughly $0.001-$0.005 with Claude Haiku 3.5 or Gemini 2.5 Flash, plus gateway / inbox API costs. A heavy user processing 200 emails per day spends under $1 per month on LLM tokens.
Conditional yes. The provider must support zero data retention (Anthropic, OpenAI Enterprise, Gemini Vertex, DeepSeek self-hosted) so prompts and completions are not retained for model training. For HIPAA or regulated workloads, the gateway must also support BAA and audit logging. Swfte enforces all of the above out of the box. Consumer email clients vary, check each provider's terms before sending privileged email.
Yes. The Gmail API exposes labels, archive, forward, draft. An AI agent reads the inbox via API, classifies each message with an LLM call, and applies the chosen action through the Gmail API. Same pattern works with Microsoft Graph for Outlook. Lindy, Swfte, and the consumer email clients ship this end to end.
Spam filters are a special case of AI email filter focused on a single binary classification: spam or not. Modern spam filters already use ML and have for years. The broader AI email filter category covers the full set of intent-based rules: triage by topic, route by urgency, draft replies, extract structured data, push to downstream systems.
Yes. Lindy, Gumloop, Make.com, Zapier all ship AI email steps you can wire to a Gmail trigger. The trade-off is operational cost and lock-in. For one-off personal use the no-code path is fine. For org-wide deployment, a build-your-own stack on Swfte gives per-team cost ceilings, audit, and on-prem deployment.
Swfte ships the gateway, the classifier model, the audit log, and the per-user cost ceilings. Wire your Gmail or Outlook in minutes.
Free tier · OpenAI-compatible API · On-prem available
Working record / AI Email Filter
Choose a fictional message and inspect its intent and proposed handling. Illustrative authored example · snapshot · 7 September 2026. Supplied catalogue copy, not verified performance evidence; this preview does not execute a workflow.
A spatial explanation of the workflow.
Select a stage or scroll to explore.
The material the work starts from: the sources, documents and tools a team already relies on.
The reasoning step. A model reads the context that was gathered and proposes something a person can act on.
The limits set before the work runs — what is in scope, what is refused, and who is asked when it is unclear.
The sequence itself: the order of steps, the handoffs between them, and where a person is required.
How the result reaches the people who use it, and the conditions under which it is allowed to run.
What is kept afterwards so a reviewer can retrace the decision: inputs, choices, and the person accountable.
CONCEPTUAL WORKFLOW MODEL — NOT A DEPICTION OF SYSTEM ARCHITECTURE
Illustrative authored example · snapshot · 7 September 2026. Capabilities and figures require confirmation.