[[["わかりやすい","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"]],["最終更新日 2025-08-04 UTC。"],[[["\u003cp\u003eThe Gmail service in Google Apps Script allows for comprehensive management of Gmail accounts, including sending emails, managing drafts, labels, and messages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGmailApp\u003c/code\u003e class provides access to various Gmail functionalities, such as creating drafts, managing labels, searching emails, and retrieving threads.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGmailThread\u003c/code\u003e and \u003ccode\u003eGmailMessage\u003c/code\u003e objects offer methods to interact with email threads and individual messages respectively, including marking them as read, starring, moving them to different folders, and replying to them.\u003c/p\u003e\n"],["\u003cp\u003eYou can use dedicated classes like \u003ccode\u003eGmailAttachment\u003c/code\u003e, \u003ccode\u003eGmailDraft\u003c/code\u003e, and \u003ccode\u003eGmailLabel\u003c/code\u003e to work with email attachments, drafts, and labels respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe service offers methods to search for emails based on queries and to manage spam, starred, priority inbox, and trash threads.\u003c/p\u003e\n"]]],["Gmail enables users to manage emails, drafts, and labels. Key actions include creating and managing labels with `createLabel` and `deleteLabel`, retrieving them with `getUserLabelByName`, and listing all labels with `getUserLabels`. It also allows creating drafts via `createDraft`, managing threads using methods like `getInboxThreads` and managing message using methods like `getMessageById`. Users can search with `search`, send emails with `sendEmail`, mark messages/threads as read/unread, and move them to the trash/spam/archive. Attachment data can be read/write with methods such as `getBytes` and `setBytes`.\n"],null,[]]