email-integrations

Fetch Emails

On-demand fetch of a Gmail account's messages by label and/or search query.

post/email-integrations/{integration_id}/fetch-emails

Path parameters

integration_idstring required

Query parameters

labelstring nullable

Gmail label name, e.g. 'NoSo - PO'

Gmail label name, e.g. 'NoSo - PO'

querystring nullable

Raw Gmail search, e.g. 'from:x subject:code newer_than:1h'

Raw Gmail search, e.g. 'from:x subject:code newer_than:1h'

max_resultsinteger
max_pagesinteger
persistboolean
return_messagesboolean

Response

Successful Response

{"stackTrail":"paths:/email-integrations/{integration_id}/fetch-emails:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.