Description
AI agents can now work on a WordPress site: write posts, answer forms, follow up with leads. Letting one send text messages or emails on its own is a risk: a wrong number, a wrong text, or a loop that sends a hundred messages.
This plugin gives agents a safe way to ask. An agent requests a message; you see it in wp-admin, edit it if needed, and approve or reject it. Only then is it sent through your Meser 10 account.
What it does
- Abilities for WordPress 6.9 and later: meser10/request-sms, meser10/request-email and meser10/request-status. MCP adapters and the Abilities REST API can use them.
- A REST route for any WordPress version, for scripts and agents using an application password.
- An approval queue: who asked, which agent, why, the recipients, the full text and the SMS count. You can edit the text before approving.
- An email to you when a request comes in.
- Limits you set yourself: recipients per request, SMS messages per day (counted in SMS parts, so a long Hebrew text counts more than once), email recipients per day, waiting requests per user, and requests expire after a few days.
- Quiet hours: optional Shabbat hours (Friday 15:00 to Saturday 21:30, site time) and daily hours when approvals wait.
- An emergency stop that refuses new requests and approvals, and stops a send that is already running before its next recipient.
- An audit log of every request, edit, approval, rejection and send result, with CSV export.
Things it deliberately will not do
- There is no ability or route that sends directly. Every message waits for an administrator.
- It does not send campaigns to mailing lists. It is for single messages and small groups.
- It never retries a failed send.
- Every recipient must be valid, or the whole request is refused, so a recipient is never dropped silently.
Who can ask
Users with the “AI agent (Meser 10 requests only)” role that the plugin adds, administrators, and optionally editors. Only administrators can approve.
Give an agent an application password of a user with the AI agent role. That user can ask for messages and read the status of its own requests, and nothing else on the site. Do not give an agent an administrator’s application password: an administrator can do anything on the site, including approving requests.
Before you start
You need a Meser 10 account with its API key and numeric User ID. If another Meser10 plugin on the site already holds them, this plugin uses the same ones. SMS goes to Israeli mobile numbers.
External services
This plugin relies on the Meser10 platform, an external email and SMS sending service operated by Meser-Eser LTD (Israel). The service is needed to actually deliver the messages; the plugin cannot send SMS by itself. A request to Meser10 is made only when an administrator approves a message, once per recipient. What is sent is the recipient’s mobile number or email address, the message text (and subject for email), the sender name, the reply-to address if set, and your Meser10 API key and User ID for authentication. No other external service is contacted; the w3.org and xmlsoap.org addresses in the code are XML namespace identifiers, not requests.
- SOAP API: https://ns.mesereser.com/Services/Services.asmx
- Terms of service: https://www.meser10.co.il/terms/
- Privacy policy: https://www.meser10.co.il/privacy/
Installation
- Install and activate the plugin.
- Open AI Send Guard in the admin menu, then Settings, and check the credentials and limits.
- Add a user with the role “AI agent (Meser 10 requests only)” and create an application password for it (Users, edit the user, Application passwords). Give that to your agent, or connect it through an MCP adapter on WordPress 6.9 or later as that user.
- Ask the agent to request a message, and approve it on the Requests tab.
FAQ
-
Can an agent send without me?
-
Not through this plugin: it has no way to send without an administrator pressing Approve. This holds as long as the agent works as a user with the AI agent role. An agent given an administrator’s login or application password could approve its own requests, or change anything else on the site, so do not give it one.
-
What does a request look like over REST?
-
POST to /wp-json/meser10-asg/v1/requests with JSON such as {“channel”:”sms”,”to”:[“0501234567″],”text”:”Your order is ready”,”note”:”order 1043″}. The answer has a request_id; GET /wp-json/meser10-asg/v1/requests/{id} returns its status.
-
Is the message text stored?
-
Yes, so you can review it. Finished requests and the log are deleted after 90 days by default (checked daily); you can change this. Waiting requests are kept until they are approved, rejected or expire.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Meser10 AI Send Guard” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Meser10 AI Send Guard” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- First release.
