Skip to content

Add MailAgent plugin (email verification for agents)#195

Closed
Alex0nder wants to merge 6 commits into
hashgraph-online:mainfrom
Alex0nder:add-mailagent
Closed

Add MailAgent plugin (email verification for agents)#195
Alex0nder wants to merge 6 commits into
hashgraph-online:mainfrom
Alex0nder:add-mailagent

Conversation

@Alex0nder

@Alex0nder Alex0nder commented Jun 6, 2026

Copy link
Copy Markdown

MailAgent

Disposable inboxes for agent signup flows — OTP and magic link extraction via MCP.

Bundled plugin mirrors examples/codex/plugin from MailAgent v0.2.5 (@mailagent/mcp@0.2.5).

HOL Plugin Scanner

Check Result
Local scan (plugins/Alex0nder/mailagent) 88/100 — critical:0, high:0
CI on MailAgent main https://github.com/Alex0nder/MailAgent/actions/workflows/hol-plugin-scanner.yml (passing)
SECURITY.md https://github.com/Alex0nder/MailAgent/blob/main/SECURITY.md

Catalog metadata

  • Merged latest upstream/main; conflicts with llm-transpile resolved (both entries, alphabetical).
  • plugins.json + marketplace.json + README.md + bundle under plugins/Alex0nder/mailagent (includes LICENSE).

Test plan

  • plugin-scanner scan plugins/Alex0nder/mailagent — 88/100
  • HOL scanner CI on plugin source repo (Alex0nder/MailAgent)
  • codex plugin marketplace add hashgraph-online/awesome-codex-plugins → install mailagent
  • codex mcp list shows mailagent tools

Disposable inboxes for Codex signup flows — OTP and magic link extraction via MCP.

Co-authored-by: Cursor <cursoragent@cursor.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request integrates the MailAgent plugin into the marketplace, adding its configuration, MCP server definitions, launcher scripts, and skill documentation. The review feedback correctly identifies several instances where upstream paths (such as examples/codex/plugin) and upstream npm commands (like npm run package:codex and npm run test:prod) are referenced in the scripts and documentation, which do not exist or work in this repository's structure. These should be updated to reflect the correct local paths and context.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

set +a
fi

: "${MAILAGENT_API_KEY:?Set MAILAGENT_API_KEY in env or examples/codex/plugin/.env}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The error message refers to examples/codex/plugin/.env, which is the path in the upstream MailAgent repository. In this repository, the plugin is located at plugins/Alex0nder/mailagent. Updating this to refer to the actual plugin root .env will prevent confusion for users.

Suggested change
: "${MAILAGENT_API_KEY:?Set MAILAGENT_API_KEY in env or examples/codex/plugin/.env}"
: "${MAILAGENT_API_KEY:?Set MAILAGENT_API_KEY in env or .env at the plugin root}"

Comment thread plugins/Alex0nder/mailagent/README.md Outdated
Use this directory as a local Codex plugin during development:

```bash
cd examples/codex/plugin

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The directory examples/codex/plugin does not exist in this repository. Since the plugin is mirrored under plugins/Alex0nder/mailagent, the command should be updated to target the correct path.

Suggested change
cd examples/codex/plugin
cd plugins/Alex0nder/mailagent

Comment thread plugins/Alex0nder/mailagent/README.md Outdated
chmod +x scripts/run-mailagent-mcp.sh
```

Open `examples/codex/plugin` as a trusted Codex project, or install the plugin through your local

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The path examples/codex/plugin should be updated to plugins/Alex0nder/mailagent to match the directory structure of this repository.

Comment thread plugins/Alex0nder/mailagent/README.md Outdated

## Environment

Put secrets in `examples/codex/plugin/.env`. The file is ignored by git.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The path examples/codex/plugin/.env should be updated to plugins/Alex0nder/mailagent/.env to match the directory structure of this repository.

Comment thread plugins/Alex0nder/mailagent/README.md Outdated
Keep the plugin `.mcp.json` on the local stdio preset so it has a single entry through
`npx -y -p @mailagent/mcp@0.2.5 mailagent-mcp`.

Pack for marketplace: `npm run package:codex` from repo root → `dist/mailagent-codex-plugin-0.2.5.tar.gz`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The command npm run package:codex is inherited from the upstream repository and cannot be run in this plugin directory because there is no package.json file. It would be clearer to remove this instruction or note that it only applies to the upstream repository.


## Prerequisites

- `MAILAGENT_API_KEY` — team key from console or `npm run issue:key:db`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The command npm run issue:key:db is an upstream command and cannot be run directly in this plugin directory as there is no package.json file. Consider clarifying this for users.

```bash
MAILAGENT_API_URL=https://api.webmailagent.com \
MAILAGENT_API_KEY=ma_… \
npm run test:prod

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The command npm run test:prod is an upstream command and cannot be run directly in this plugin directory as there is no package.json file. Consider clarifying this for users.

@kilo-code-bot

kilo-code-bot Bot commented Jun 6, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (7 files)
  • .agents/plugins/marketplace.json - Plug-in registry entry added
  • README.md - MailAgent listed in plugin catalog
  • plugins/Alex0nder/mailagent/.codex-plugin/plugin.json - Plugin manifest
  • plugins/Alex0nder/mailagent/.env.example - Environment template
  • plugins/Alex0nder/mailagent/.mcp.json - MCP server configuration
  • plugins/Alex0nder/mailagent/README.md - Plugin documentation
  • plugins/Alex0nder/mailagent/scripts/run-mailagent-mcp.sh - Launcher script
  • plugins/Alex0nder/mailagent/skills/mailagent/SKILL.md - Skill definition

Reviewed by step-3.7-flash-20260528 · 368,037 tokens

@internet-dot

Copy link
Copy Markdown
Collaborator

Missing the plugins.json entry. You have the README entry, marketplace entry, and plugin bundle. Just needs the plugins.json registry entry to be complete. See CONTRIBUTING.md.

Add assets/icon.svg and composerIcon for CI validation. Refresh bundle
README for catalog-relative paths. Sync plugins.json with README entry.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kilo-code-bot

kilo-code-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

@internet-dot

Copy link
Copy Markdown
Collaborator

Before this PR can be merged, your plugin repo needs the HOL AI Plugin Scanner running in CI. This is a mandatory requirement for all submissions.

Add this workflow to your plugin repo at .github/workflows/hol-plugin-scanner.yml:

name: HOL Plugin Scanner

on:
  push:
    branches: [main, master]
  pull_request:
    branches: [main, master]

permissions:
  contents: read
  security-events: write

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
      - name: HOL Plugin Scanner
        uses: hashgraph-online/ai-plugin-scanner-action@v1
        with:
          plugin_dir: "."
          mode: scan
          min_score: 80
          fail_on_severity: high
          format: sarif
          upload_sarif: true

Also run the scanner locally and include the score in your PR description:

pipx install plugin-scanner
plugin-scanner scan . --format text

Your plugin needs a score of 80/130 or higher with no critical or high severity findings. Link the CI run or paste the score in this PR description.

See the full guide: SCANNER_GUIDE.md

Additional issues:
plugins.json entry is missing from this PR.

Alex0nder and others added 3 commits June 8, 2026 17:30
Address gemini-code-assist review on PR hashgraph-online#195 — plugin-root .env hint,
README paths for plugins/Alex0nder/mailagent, SKILL clarifies console
keys and test:prod runs from MailAgent repo only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rebase catalog metadata onto latest awesome-codex-plugins (105→106 plugins):
keep llm-transpile and add mailagent in alphabetical order across
marketplace.json, plugins.json, and README.md. Sync plugin bundle from
MailAgent catalog staging.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Alex0nder

Copy link
Copy Markdown
Author

Follow-up after merging upstream/main:

  • Conflicts resolved with llm-transpile — both entries kept (alphabetical) in marketplace.json, plugins.json, and README.md.
  • plugins.json entry added (MailAgent after LLM Transpile, total 106).
  • Bundle synced from MailAgent catalog staging; LICENSE included.

HOL Plugin Scanner (local on catalog bundle):

Final Score: 88/100 (B - Good)
critical:0, high:0, medium:0

Scanner CI on MailAgent main: https://github.com/Alex0nder/MailAgent/actions/workflows/hol-plugin-scanner.yml

@Alex0nder

Copy link
Copy Markdown
Author

@internet-dot — follow-up on review feedback:

PR is mergeable with upstream/main. Thanks for maintaining the list — happy to adjust anything else.

Required for Codex Plugin Directory publisher validation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Alex0nder

Copy link
Copy Markdown
Author

Synced privacyPolicyURL and termsOfServiceURL in the catalog bundle (commit 0708b86 on add-mailagent) — ready for Codex Plugin Directory publisher validation when OpenAI opens self-serve.

@Alex0nder

Copy link
Copy Markdown
Author

Friendly ping — PR still MERGEABLE (106 plugins, privacy/terms URLs in bundle). Install works today via repo marketplace; merge is visibility only. Thanks!

@internet-dot internet-dot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One concern:

  1. Unusual install_url pathinstall_url points to examples/codex/plugin/.codex-plugin/plugin.json in the upstream repo. This is non-standard — most plugins keep their manifest at the repo root under .codex-plugin/plugin.json. This will break if the upstream repo restructures.

  2. No scanner evidence — PR description lacks scanner score or CI link.

Otherwise the bundle is complete: plugin.json, icon, LICENSE, SECURITY.md, SKILL.md, marketplace.json, plugins.json, and README entry are all present. Alphabetical order is correct.

@internet-dot internet-dot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean PR

  • Valid JSON in all modified files (marketplace.json, plugins.json)
  • README entry added alphabetically (MailAgent after LLM Transpile, before Personal Data Protection)
  • Complete bundle structure with .codex-plugin/plugin.json, assets/icon.svg, LICENSE, README.md, skills, and MCP config
  • Includes HOL scanner results and security documentation references

Ready to merge.

internet-dot added a commit that referenced this pull request Jun 16, 2026
…Kit, Citadel, MailAgent, Vanguard Frontier Agentic)

Resolved merge conflicts from PRs #193, #192, #183, #206, #195, #205
and applied registry entries + plugin bundles directly.

Closes #193, #192, #183, #206, #195, #205, #214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants