Actions26
Draft → Get Many
AI-generatedSummary
Lists Gmail drafts, optionally returning all results or limiting the number returned. You can also choose to download draft attachments and include drafts from Spam and Trash.
Inputs
- Client ID, Client Secret, Refresh Token, Access Token (required) — Credentials shown for the operation. The properties describe the Access Token as required and password-protected.
- Authentication — Choose OAuth2 (recommended) or Service Account.
- Return All — When false, return up to the configured Limit (default 50, range 1–500); when true, request all results.
- Options — Download Attachments controls attachment downloading; Attachment Prefix sets the binary property name prefix (default attachment_, with a zero-based index appended); Include Spam and Trash controls whether those drafts are included.
Output shape
A list of draft items.
The supplied source pack omits function bodies, so it does not expose the exact output fields or attachment handling. The operation properties declare the listed result and attachment options.