List emails from draft folder

GET {{baseUrl}}/emails/mailboxes/:email/drafts?includeSpamTrash=<boolean>&maxResults=<integer>&pageToken=<string>&q=<string>

Lists the draft messages in the mailbox.

Scopes: mail:read

Rate Limit Label : MEDIUM

Not supported in Gov cluster

Request Params

| Key | Datatype | Required | Description | | includeSpamTrash | string | | Include messages from SPAM and TRASH in the results. Value should be either "true" or "false". | | maxResults | string | | Maximum number of drafts to return. This field defaults to 50. The maximum allowed value for this field is 500. | | pageToken | string | | Page token to retrieve a specific page of results in the list. | | q | string | | Specify a server side elastic search query. |

HEADERS

| Key | Datatype | Required | Description | | Accept | string | | |

RESPONSES

status: OK

{&quot;drafts&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;threadId&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;threadId&quot;:&quot;\u003cstring\u003e&quot;}}],&quot;nextPageToken&quot;:&quot;\u003cstring\u003e&quot;,&quot;resultSizeEstimate&quot;:&quot;\u003cinteger\u003e&quot;}