Set up

Sign in and open Mail. Create a mailbox, then open Developer → API keys. Select its agent and choose mail:read. Use the deployment origin as ZIPZOE_BASE_URL. Export ZIPZOE_API_KEY from your secret manager and keep it off the browser.

curl -fsS "$ZIPZOE_BASE_URL/v1/mail/mailboxes" \
  -H "Authorization: Bearer $ZIPZOE_API_KEY"

Check the response

Use an ID from items as MAILBOX_ID. An empty list means the credential has no matching mailbox. Verify agent binding before issuing another key. Next: read and search email