Enterprise Mail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging (true/false, default false) | false |
| IMAP_HOST | Yes | IMAP server hostname (e.g., imap.gmail.com) | |
| IMAP_PASS | Yes | IMAP password or app-specific password | |
| IMAP_PORT | Yes | IMAP server port (e.g., 993) | |
| IMAP_USER | Yes | IMAP username (usually your email address) | |
| SMTP_HOST | Yes | SMTP server hostname (e.g., smtp.gmail.com) | |
| SMTP_PASS | Yes | SMTP password or app-specific password | |
| SMTP_PORT | Yes | SMTP server port (e.g., 465) | |
| SMTP_USER | Yes | SMTP username (usually your email address) | |
| IMAP_SECURE | Yes | Whether to use TLS/SSL for IMAP (true/false) | |
| SMTP_SECURE | Yes | Whether to use TLS/SSL for SMTP (true/false) | |
| SMTP_FROM_NAME | No | Display name for the sender (optional, default 'AI Mail Assistant') | AI Mail Assistant |
| SMTP_FROM_ADDRESS | No | Sender email address override (optional, defaults to SMTP_USER) |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_inboxB | Gelen kutusundaki (veya belirtilen klasördeki) en son e-postaları özet bilgilerle listeler. |
| search_emailsC | Gelişmiş arama kriterleri ile e-postaları arar (gönderen, konu, gövde, tarih, okunmamışlık vb.). |
| read_emailC | UID numarası verilen belirli bir e-postayı gövdesi, ek bilgileri ve başlıklarıyla eksiksiz okur. |
| send_emailC | Belirtilen alıcı(lar)a yeni bir e-posta gönderir. |
| reply_emailA | Gelen bir e-postaya RFC standartlarına uygun başlıklar (In-Reply-To, References, Re:) ve orijinal alıntıyla yanıt verir. |
| verify_smtp_connectionA | SMTP sunucu yapılandırmasını ve bağlantısını test eder. |
| create_draftA | E-postayı hemen göndermez; Taslaklar (Drafts) klasörüne yapay zeka tarafından oluşturulmuş bir taslak olarak kaydeder. |
| watch_new_emailsB | IMAP IDLE protokolünü kullanarak gelen kutusunu anlık olarak dinler. Yeni bir e-posta düştüğü anda veya zaman aşımı süresi dolduğunda sonucu döner. |
| analyze_emailA | Bir e-postanın içeriğini derinlemesine analiz eder: aciliyet derecesi, niyet/kategori, ton/duygu, aksiyon maddeleri, tarihler, para tutarları, özet ve phishing/spam riskleri. |
| find_unsubscribe_linksA | Bülten ve tanıtım e-postalarındaki abonelikten çıkma (List-Unsubscribe başlıkları veya gövdedeki iptal bağlantıları) yollarını tespit eder. |
| triage_inboxA | Gelen kutusundaki son e-postaları topluca tarar, önem derecesine göre gruplar (Güvenlik, Finans, Acil Görevler, Bültenler) ve eyleme dönüştürülebilir özet rapor sunar. |
| list_foldersB | Posta kutusundaki tüm klasörleri, etiketleri ve özel kullanım yollarını listeler. |
| move_emailB | Belirtilen e-postayı (UID) hedef klasöre veya etikete taşır. |
| flag_emailA | E-postaya bayrak ekler, kaldırır veya günceller (örn: yıldızlama '\Flagged', okundu '\Seen'). |
| delete_emailB | E-postayı çöp kutusuna taşır veya kalıcı olarak siler. |
| download_attachmentA | Belirtilen e-postadaki eki indirir. GÜVENLİK ZORUNLULUĞU: Dosya kesinlikle indirilmeden önce Windows Defender ve çok katmanlı sezgisel virüs taramasından geçirilir. Tehdit bulunursa dosya derhal imha edilir ve indirme iptal edilir. |
| extract_calendar_eventB | E-postadaki toplantı, randevu ve etkinlik bilgilerini (tarih, saat, link, katılımcılar) çıkarır ve standart .ics (iCalendar) formatı üretir. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Each tool has a clearly distinct purpose: listing, searching, reading, sending, replying, drafting, real-time watching, analyzing, triaging, folders, moving, flagging, deleting, attachments, and calendar extraction do not meaningfully overlap. Even similarly scoped tools like check_inbox, search_emails, and triage_inbox are differentiated by intent and output.
All tool names follow a consistent snake_case verb_noun pattern such as check_inbox, send_email, move_email, and delete_email. This makes the API predictable and easy to navigate for an agent.
At 17 tools, the server is slightly above the ideal 3-15 range but every tool appears to serve a legitimate mail-related function. The count is reasonable for a broad enterprise mail feature set and does not feel bloated.
The tool surface covers core email workflows: send, reply, draft, read, search, delete, move, flag, attachment download, folder listing, and real-time monitoring. Minor gaps exist, such as no explicit forward_email tool, no folder creation/management, and no clearly described attachment support when sending or creating drafts.