List Drafts
List Gmail drafts with optional search and paging.
Type
google.gmail.list_draftsListed only when a matching connected service is enabled.
List Drafts returns draft ids and message/thread refs. Follow with Get Draft or Send Draft.
Search uses the same syntax as the Gmail search box. Type a query in one line and insert context with {{ }} (for example from:{{ args.email }} newer_than:7d).
Configure
| Setting | Description |
|---|---|
| Search query (optional) | Gmail search string. Liquid template, for example from:{{ args.email }} is:unread |
| Max results | Page size, 1–500. Default 20 |
| Page token (optional) | nextPageToken from a previous list |
Pipe schema
| Key | Type | Description |
|---|---|---|
drafts | list | Each item has id and message.id / message.threadId |
nextPageToken | text | Next page |