msend Documentation
One unified schema and API for AI agents to send and receive messages across Email, Slack, and WhatsApp.
Your agents (LangGraph, CrewAI, Claude Agents SDK, OpenAI Agents SDK, or custom services) run wherever you host them. msend is the communication gateway that normalizes inbound events, translates outbound parts into each channel’s native format, enforces consent and service windows, and delivers reliable webhooks or pollable events.
Two ways to run msend: Use the hosted service at app.msend.dev, or self-host the open-source Rails 8.1 application on your own server with Docker and Kamal—with zero external msend dependencies.
Start Building
Channels & Integrations
Why msend?
| Capability | How msend handles it |
|---|---|
| One Schema, Many Channels | Send text, image, file, buttons, list, location, reaction, or template parts. Adapters convert them to Block Kit, Meta payloads, or MIME—and degrade unsupported parts cleanly. |
| Reliable Event Delivery | Receive message.received, message.status, conversation.created, and channel.status via HMAC-SHA256 signed webhooks (with 8-step exponential retries & replay) or cursor-based polling. |
| Built-in Compliance | Per-channel-kind Consent tracking & enforcement, configurable retention_days nightly purge, and background contact erasure (DELETE /api/v1/contacts/:id). |
| Self-Hostable by Design | Bring your own SMTP/IMAP mailbox, Slack app, and Meta WhatsApp Business Account. Deploy anywhere with Kamal. |