Read the inbox
Set MAILBOX_ID from GET /v1/mail/mailboxes. Page through results starting with page=1 and a bounded limit.
curl -fsS "$ZIPZOE_BASE_URL/v1/mail/mailboxes/$MAILBOX_ID/emails?folder=inbox&limit=25&page=1" \
-H "Authorization: Bearer $ZIPZOE_API_KEY"Read or find a message
Use GET /v1/mail/mailboxes/{mailboxId}/emails/{messageId} to load the selected message and GET /v1/mail/mailboxes/{mailboxId}/search?query=appointment to search. These calls need mail:read. A mailbox ID selects the inbox. An agent ID selects the sender for a send request.