Skip to main content
Glama
RiAnBee

email-triage

by RiAnBee

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_IMAP_SSLYesSet to 1 to use SSL/TLS for the IMAP connection.
EMAIL_IMAP_HOSTYesIMAP server hostname (e.g., imap.exmail.qq.com).
EMAIL_IMAP_PORTYesIMAP server port (e.g., 993).
EMAIL_IMAP_USERYesIMAP username (full email address, e.g., your-id@smail.nju.edu.cn).
EMAIL_TRIAGE_MODELYesModel ID to use for classification (e.g., qwen3.8-flash-next-iq3_s).
EMAIL_IMAP_PASSWORDNoIMAP password provided directly. Do not set if EMAIL_IMAP_PASSWORD_FILE is used.
EMAIL_TRIAGE_CONFIGYesAbsolute path to the configuration file (e.g., configs/nju-inbox.json).
EMAIL_TRIAGE_BASE_URLYesBase URL of the Qwen/Strata model service (e.g., http://127.0.0.1:18081/v1).
EMAIL_TRIAGE_RUN_ROOTYesAbsolute path to the root directory where run outputs are stored.
EMAIL_IMAP_PASSWORD_FILENoAbsolute path to a file whose first line contains the IMAP client-specific password.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_categoriesA

返回当前配置里允许的邮件类别名称与说明。不读取任何邮件。

classify_jsonlA

对本地 JSONL 样本做只读分类,返回每封的主题标签、类别、理由与耗时。只读:不修改任何邮件状态。

classify_imapA

从 IMAP 邮箱只读拉取最近若干封邮件并分类。仅使用 EXAMINE 与 BODY.PEEK,不会把邮件标记为已读,也不会移动或删除。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation5/5

The three tools have clearly distinct purposes: listing allowed categories, classifying local JSONL samples, and classifying IMAP messages. The local-vs-IMAP distinction is explicit in both names and descriptions, so an agent can easily choose the right tool.

Naming Consistency5/5

All tool names use consistent snake_case verb_noun form: list_categories, classify_jsonl, classify_imap. The convention is predictable and readable.

Tool Count4/5

Three tools is a minimal but reasonable surface for a read-only email classification server. Each tool earns its place, though the set is thin for the broader notion of email triage.

Completeness3/5

The server covers category listing and read-only classification from two input sources, but lacks operations to act on triage results, such as applying categories or labels. There also is no category management or broader email retrieval beyond recent IMAP messages, leaving notable gaps for full email triage.

Maintenance

ActivityMaintained
ResponsivenessNo issues