nylas api drafts get
Return All Drafts
Options
Name | Description |
---|---|
--any_email <any_email> | Return emails that have been sent or received from this comma-separated list of email addresses. For example: mail1@mail.com,mail2@mail.com. A maximum of 25 emails may be specified |
--bcc <bcc> | Return threads containing messages that were BCC'd to this email address, likely sent from the parent account. (Most SMTP gateways remove BCC information.) |
--cc <cc> | Return threads containing messages that were CC'd to this email address |
--display_columns <headers> | (optional) A comma separated list of column headers to display for the table output |
--filename <filename> | Return object with the filename |
--in <in> | This parameter supports the name, display_name, or id of a folder or label. To return drafts, pass in `drafts` |
--last_message_after <last_message_after> | Return threads whose most recent message was received after this Unix-based timestamp |
--last_message_before <last_message_before> | Return threads whose most recent message was received before this Unix-based timestamp |
--not_in <not_in> | Filter messages not in a given folder or label. The filter supports the name, display, or ID of a folder or label |
--started_after <started_after> | Return threads whose first message was received after this Unix-based timestamp |
--started_before <started_before> | Return threads whose first message was received before this Unix-based timestamp |
--subject <subject> | Return threads with a matching literal subject |
--thread_id <thread_id> | Return messages belonging to a specific thread |
--to <to> | Return threads containing messages sent to this email address |
--view <view> | If using Search, only `view=expanded` is supported. See [Views](/docs/api/#overview--views) for more information |