Email
List email messages
Changed onSame filters and envelope as GET /v1/email/threads, one row per message. Bodies are omitted; fetch a message to read text and html.
On Google
- List rows also omit attachments (Gmail's metadata pages carry headers only); hasAttachment=true still filters server-side.
- sortOrder=asc reverses the fetched page.
- archive means mail without the inbox, trash or spam labels.
get/v1/email/messages
Request
- Base URLhttps://zernio.com/api
- URLhttps://zernio.com/api/v1/email/messages
- AuthHTTP bearer
Query parameters
accountIdstring required
The connected Google or Microsoft account.
folderstring
unreadboolean
starredboolean
hasAttachmentboolean
subjectstring
fromstring
tostring
ccstring
bccstring
anyEmailstring
afterstring date-time
beforestring date-time
searchQueryNativestring
sortOrder'asc' | 'desc'
cursorstring
limitinteger
Response
Messages
Changes
- info
endpoint added
- info