Let agents or workflow code draft, approve, send, track, and log certified mail, notices, postcards, and document packets from HubSpot CRM state.
HubSpot workflow, webhook, custom code action, or agent reads CRM context.
Agent drafts a letter or packet and calls mailbox.bot with dry_run=true.
Human approves sensitive, certified, or high-cost mail.
mailbox.bot prints, stamps, mails, tracks, and emits lifecycle webhooks.
The integration writes delivery proof, tracking, and status back to the HubSpot object.
curl -X POST https://mailbox.bot/api/v1/mail \ -H "Authorization: Bearer sk_agent_test_..." \ -H "X-Mailbox-MD-Version: 3" \ -H "X-Max-Cost-Cents: 1500" \ -F "document=@notice.pdf" \ -F "recipient_name=Recipient Name" \ -F "recipient_line1=123 Main Street" \ -F "recipient_city=San Francisco" \ -F "recipient_state=CA" \ -F "recipient_zip=94105" \ -F "mail_class=certified" \ -F "dry_run=true" \ -F 'metadata[source]=hubspot'