Mail drafts
Mail drafts: endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.
Wait for new inbound email GET
Wait for new inbound email with the Mailly email API for AI agents: GET /inbox/messages/wait. Parameters, request body, responses and code samples.
Approve and send a reviewed draft version POST
Approve and send a reviewed draft version with the Mailly email API for AI agents: POST /mail-drafts/{id}/approve. Parameters, request body, responses and code samples.