[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-09-05 UTC."],[[["Creates a new draft with the `DRAFT` label, allowing for both media upload and metadata-only requests."],["Requires providing the user's email address (`userId`) as a path parameter, with `me` indicating the authenticated user."],["The request and response bodies utilize the `Draft` object for data exchange."],["Needs authorization with specific OAuth scopes, including `https://mail.google.com/`, `https://www.googleapis.com/auth/gmail.modify`, or `https://www.googleapis.com/auth/gmail.compose`."]]],["This content outlines how to create a new draft in Gmail's API. It involves sending a `POST` request to either a media upload URI (`/upload/`) or a metadata URI (`/`). The `userId` path parameter, representing the user's email, is required; `me` represents the authenticated user. The request and response bodies both utilize the `Draft` instance. Authorization requires specific OAuth scopes: `mail.google.com/`, `gmail.modify`, or `gmail.compose`.\n"]]