Send an email
Commune handles DKIM signing, bounce tracking, and delivery monitoring. You just pass the recipient, subject, and body.Send an email from your agent's inbox
Parameters
At least one of
html or text must be provided.Response
Validation response
When email validation detects issues (invalid addresses, disposable domains, suppressed recipients), the response includes avalidation object:
Sending in a thread
To reply within an existing conversation, pass thethread_id. Commune automatically sets the correct In-Reply-To and References headers for proper email threading:
Sending with attachments
Upload files first, then reference their IDs:List messages
Retrieve messages filtered by inbox, domain, or sender.Parameters
At least one of
inbox_id, domain_id, or sender is required.Response
Message object fields
Middleware pipeline
Every outbound email passes through Commune’s security pipeline before delivery:- Rate limiting — Per-second and daily rate limits
- Burst detection — Blocks abnormal sending spikes
- Content validation — Outbound spam/phishing check
- Sending health gate — Pauses sending if bounce/complaint rates are too high
- Warmup gate — Gradually increases daily send volume for new inboxes
- Email validation — Checks recipient syntax, MX records, disposable domains
- Suppression check — Skips previously bounced/complained addresses
- Inbox daily limit — Enforces per-inbox sending caps
- API key limit — Enforces per-key sending caps
What’s next?
Threads
Browse conversation threads and manage triage with status and tags.
Attachments
Upload, send, and download file attachments.
Delivery Monitoring
Track bounce rates, complaint rates, and suppression lists.
Webhooks
Receive inbound emails in real-time via HTTP POST.

