[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-09-05。"],[[["Lists drafts in a user's mailbox using the Gmail API."],["Allows filtering by query, maximum results, and inclusion of spam/trash."],["Response includes a list of drafts with basic information (id, threadId)."],["Requires specific OAuth scopes for authorization, such as `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.readonly`."],["Provides pagination for retrieving large numbers of drafts using `nextPageToken`."]]],["This API endpoint retrieves a list of drafts from a user's Gmail mailbox using a `GET` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/drafts`. The `userId` path parameter specifies the user, with \"me\" for the authenticated user. Query parameters allow filtering by `maxResults`, `pageToken`, search query (`q`), and inclusion of spam/trash drafts. The request body is empty. The response returns an array of drafts, `nextPageToken`, and `resultSizeEstimate`. Authorization requires specific OAuth scopes.\n"]]