Email

Sends from the connected mailbox and returns the stored sent copy.

The message is mirrored into the inbox (message.sent fires once) and counted against the mailbox's daily cap. The cap is reported in the X-Zernio-Send-Limit, X-Zernio-Send-Remaining and X-Zernio-Send-Reset response headers.

Sending limits

These mailboxes are for one-to-one mail, not bulk sends. Protection on every mailbox:

  • Daily cap: Microsoft 1,000; Google Workspace 500; Gmail consumer 200. Reaching it answers 429 email_send_cap_reached with details.cap.
  • The same body reaching more than 50 distinct recipients within an hour pauses the mailbox with an escalating cooldown (429 rate_limited, account.rate_limited webhook).

Other errors

  • 402: Gmail sends need a payment method on the workspace. Reading, calendar and files do not.
  • 400: scheduledFor and holdAsDraft are reserved and currently rejected.
post/v1/email/messages

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/email/messages
  • Auth
    HTTP bearer

Request body

accountIdstring required
fromNamestring
subjectstring required
textstring

Plain-text body. One of text or html is required.

htmlstring
headersobject

Custom X- headers only. List-Unsubscribe is dropped on Microsoft and reported in metadata.droppedHeaders.

metadataobject
scheduledForstring date-time

Reserved; currently rejected.

holdAsDraftboolean

Reserved; currently rejected.

trackOpensboolean

Not available; must be false.

trackLinksboolean

Not available; must be false.

Response

The sent message

Changes