Skip to content

Releases

v1.2.0 - Attachment Metadata, Claude Code Plugin & Glama Support

Choose a tag to compare

@Dicka18 Dicka18 released this 26 Nov 22:23

What's Changed

  • Attachment metadata on message API (#10) by @Aadithya-kl: exposes lightweight attachments: [{ filename, mimeType, size }] metadata on GET /api/inbox/messages/:id and GET /api/admin/messages/:id without persisting binary blobs in D1 (adds migration migrations/0002_message_attachments.sql).
  • Claude Code Plugin manifests: added .claude-plugin/plugin.json and .mcp.json for direct Claude Code plugin discovery.
  • Glama MCP inspection: added glama.json and minimal non-root Dockerfile for automated MCP tool inspection (7 tools verified).
  • Official MCP Registry: live as io.github.Dicka18/mailgate backed by mailgate-sdk@1.1.1 on npm.

Full Changelog: v1.1.0...v1.2.0

v1.1.0: MCP Server, CLI, and Playwright Fixture

Choose a tag to compare

@Dicka18 Dicka18 released this 26 Nov 17:03

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

Choose a tag to compare

@Dicka18 Dicka18 released this 26 Nov 14:29

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