MailGate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAILGATE_URL | Yes | Base URL of the MailGate instance, e.g. https://mailgate.example.com | |
| MAILGATE_ADMIN_TOKEN | No | Optional admin token for the MailGate instance |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mailgate_healthA | Check whether the configured MailGate Worker is reachable and healthy. |
| mailgate_wait_for_otpB | Poll a MailGate inbox until a verification/OTP code arrives. Pass |
| mailgate_wait_for_emailB | Poll a MailGate inbox until a matching email arrives and return its subject, text body, OTP code, and extracted magic/verification link. |
| mailgate_list_messagesC | List recent messages stored in a MailGate inbox. |
| mailgate_create_inboxA | Allowlist a new inbox address on MailGate (requires MAILGATE_ADMIN_TOKEN). |
| mailgate_clear_messagesA | Delete all stored messages for an inbox before starting a fresh test run (requires MAILGATE_ADMIN_TOKEN). |
| mailgate_simulate_emailB | Inject a simulated RFC822 message through the live MIME parser and OTP extractor (requires MAILGATE_ADMIN_TOKEN and ALLOW_SIMULATE=true). |
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 7 tools
Most tools have distinct actions and resources, but mailgate_wait_for_otp and mailgate_wait_for_email overlap heavily: both poll an inbox for incoming mail, with OTP being a narrower case. The descriptions help differentiate them, though an agent could still reasonably choose the wrong one for a given test.
All tools use a consistent mailgate_ prefix followed by clear snake_case verb_noun names such as mailgate_list_messages and mailgate_create_inbox. The naming pattern is predictable throughout the set.
Seven tools is well-scoped for an email testing service, covering health, inbox setup, message inspection, polling, cleanup, and simulation without obvious padding. Each tool maps to a meaningful operation in the workflow.
The surface covers most of the email-testing lifecycle: health, inbox creation, listing, OTP/email polling, clearing messages, and simulation. Minor gaps remain, such as deleting an inbox or fetching a specific message by ID, but core workflows are supported.