Skip to content

fix: require confirmation before sending email - #55

Open
lizuyi-6 wants to merge 1 commit into
ActiveCampaign:mainfrom
lizuyi-6:fix/confirm-before-email-send
Open

fix: require confirmation before sending email#55
lizuyi-6 wants to merge 1 commit into
ActiveCampaign:mainfrom
lizuyi-6:fix/confirm-before-email-send

Conversation

@lizuyi-6

Copy link
Copy Markdown

Summary

  • mark all four email send tools as destructive and non-idempotent so MCP clients can require confirmation
  • instruct assistants to obtain fresh confirmation before every initial send, correction, retry, or resend
  • document the confirmation requirement and add offline regression coverage for annotations and tool descriptions

Why

An interrupted or ambiguous response does not prove that Postmark rejected a send. Automatically retrying can therefore deliver duplicate transactional or OTP emails. The tool metadata and descriptions now tell both MCP clients and models to treat each send attempt as an irreversible action requiring explicit user approval.

Test plan

  • npm test (34 tests)
  • npm run test:offline (complete offline MCP integration suite)
  • node --check index.js

Closes #54

Mark email send tools as destructive and require fresh user confirmation before every send or retry to prevent accidental duplicate delivery.
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.

Automatic email resending

1 participant