Send Draft

**CLI:** ```bash agentmail inboxes:drafts send --inbox-id <inbox_id> --draft-id <draft_id> ```

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

inbox_idstringRequired
The ID of the inbox.
draft_idstringRequired
ID of draft.

Request

This endpoint expects an object.
add_labelsstring or list of stringsOptional
Label or labels to add to message.
remove_labelsstring or list of stringsOptional
Label or labels to remove from message.

Response

This endpoint returns an object.
message_idstring
ID of message.
thread_idstring
ID of thread.

Errors

400
Validation Error
403
Message Rejected Error
404
Not Found Error