Communications Service Guide
Draft and send messages with approval gates, rate limits, and provider allowlists to avoid accidental exfiltration.
Drafting
`comms.draft_message` builds emails, Slack updates, and SMS templates from structured inputs, ready for review.
- Templates support variables and localization.
- Drafts log source context so reviewers know where content came from.
- Version history lets you compare revisions before sending.
Approvals
Sending messages requires explicit human approval with full previews, recipients, and attachments displayed.
- `comms.send_message` checks domain allowlists and rate limits.
- Per-channel policies (email, chat, SMS) enforce throttles.
- Audit logs capture provider response IDs and timestamps.
Provider integrations
Adapters abstract email (SMTP, SES), chat (Slack, Teams), and SMS (Twilio) while keeping credentials secured locally.
- Service tokens stored in the local secrets vault; never transmitted externally.
- Webhook support notifies orchestrator when messages deliver or bounce.
- Roadmap includes templating UI and sentiment QA before send.