Repository navigation
Releases
Releases · Dicka18/mailgate
v1.2.0 - Attachment Metadata, Claude Code Plugin & Glama Support
What's Changed
- Attachment metadata on message API (#10) by @Aadithya-kl: exposes lightweight
attachments: [{ filename, mimeType, size }]metadata onGET /api/inbox/messages/:idandGET /api/admin/messages/:idwithout persisting binary blobs in D1 (adds migrationmigrations/0002_message_attachments.sql). - Claude Code Plugin manifests: added
.claude-plugin/plugin.jsonand.mcp.jsonfor direct Claude Code plugin discovery. - Glama MCP inspection: added
glama.jsonand minimal non-rootDockerfilefor automated MCP tool inspection (7 tools verified). - Official MCP Registry: live as
io.github.Dicka18/mailgatebacked bymailgate-sdk@1.1.1on npm.
Full Changelog: v1.1.0...v1.2.0
v1.1.0: MCP Server, CLI, and Playwright Fixture
Release v1.1.0 adds native AI coding agent (MCP), CLI, and Playwright fixture support to \mailgate-sdk\ with zero external dependencies.
What's New
- Built-in stdio MCP Server (
px -y mailgate-sdk mcp): lets Claude Code, Cursor, Windsurf, and other MCP clients call \mailgate_wait_for_otp, \mailgate_wait_for_email, \mailgate_list_messages, \mailgate_create_inbox, \mailgate_clear_messages, and \mailgate_simulate_email\ directly during browser E2E testing.
\\�ash
claude mcp add mailgate -e MAILGATE_URL=https://mailgate.example.com -- npx -y mailgate-sdk mcp
\\ - Playwright Fixture (\mailgate-sdk/playwright): \createMailGateTest(base, options)\ automatically stamps \since\ at test start and optionally clears inbox state before each test.
- CI Shell CLI (
px mailgate-sdk otp \ / \link ): prints raw OTP codes or magic links to stdout for shell scripts and GitHub Actions steps. - Tests: expanded automated test suite to 23 tests covering real stdio JSON-RPC MCP execution, CLI subprocesses, and Playwright fixture wiring.
v1.0.0 — Initial Open-Source Release
Initial open-source release of MailGate — a self-hosted, receive-only email & OTP inbox on Cloudflare Workers + D1 + Email Routing.
Install the E2E Testing SDK
\\�ash
npm install -D mailgate-sdk
\
Package: https://www.npmjs.com/package/mailgate-sdk
Highlights
- Cloudflare Email Routing catch-all Worker with \postal-mime, strict allowlist rejection (\STRICT_ALLOWLIST=true), and daily Cron retention cleanup
- Smart OTP & magic-link extraction with calendar-year false-positive filtering (\1990–2035)
- Dedicated \GET /api/inbox/latest-otp\ automation endpoint + zero-dependency [\mailgate-sdk](https://www.npmjs.com/package/mailgate-sdk) (\waitForOtp()\ / \waitForEmail()) for Playwright/Cypress CI tests
- Clean Light/Dark Web UI with sandboxed HTML iframe, strict CSP, \Ctrl+K\ command palette, Admin Panel, and built-in RFC822 simulator
- Optional standalone \cloudflare-bridge/\ Worker for HMAC-SHA256 signed email-to-webhook forwarding