Skip to content

Send Inbox Email

POST
/inbox/emails/{email_id}/send

SEND. THIS DELIVERS A REAL MESSAGE TO A REAL RECIPIENT.

Classifies external, so it needs the inbox:run grant rather than plain write - a customer can hand out “read and triage my inbox” without handing out “send as me”.

Pass message_id to keep the reply in its thread; without it the message arrives as a new conversation.

Authorizations

Parameters

Path Parameters

email_id
required

Email thread id.

string

Email thread id.

Query Parameters

mailbox
required

Mailbox address to send FROM.

string

Mailbox address to send FROM.

provider
required

Required and not inferred: the same address can be connected either way, and guessing would send through the wrong transport. Declared as a Literal so an unknown value is a request-layer 422 - as a bare str it reached Mailbox(provider) inside the handler and raised a ValueError, which is a 500 on the single most consequential call on this surface.

string
Allowed values: google_mailbox smtp

Required and not inferred: the same address can be connected either way, and guessing would send through the wrong transport. Declared as a Literal so an unknown value is a request-layer 422 - as a bare str it reached Mailbox(provider) inside the handler and raised a ValueError, which is a 500 on the single most consequential call on this surface.

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

The message to send. THIS REACHES A REAL RECIPIENT.

object
bcc_email
Array<string>
cc_email
Array<string>
content
required

Body.

string
from_email
required
Array<string>
>= 1 items
message_id
Any of:
string
subject
required

Subject.

string
to
required

Recipients. At least one.

Array<string>
>= 1 items

Responses

200

Successful Response

object
data
required
object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string