METADATA gives compose trigger the permission to access the metadata of
the draft when a compose addon is triggered. This includes the audience
list (To/cc list) of a draft message.
None
NONE means compose trigger won't be able to access any data of the draft
when a compose addon is triggered.
Unspecified
Default value when nothing is set for DraftAccess.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eDraftAccess\u003c/code\u003e enum, which controls the level of data access granted to compose triggers in Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this enum is 2.3.0, and there are available versions going as far back as 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDraftAccess\u003c/code\u003e enum has three defined fields: \u003ccode\u003eMetadata\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each with specific permissions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMetadata\u003c/code\u003e access allows a compose trigger to access draft metadata, like the audience list, while \u003ccode\u003eNone\u003c/code\u003e prevents any draft data access.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field represents the default value when no specific \u003ccode\u003eDraftAccess\u003c/code\u003e is defined.\u003c/p\u003e\n"]]],[],null,[]]