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\u003eThe latest version of the \u003ccode\u003eDraftAccess\u003c/code\u003e enum is 2.3.0, with multiple earlier versions available, including 2.2.0, 2.1.0, 2.0.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDraftAccess\u003c/code\u003e enum defines the level of data access that a compose trigger has, determining what information it can access from a draft.\u003c/p\u003e\n"],["\u003cp\u003eThere are three possible values for \u003ccode\u003eDraftAccess\u003c/code\u003e: \u003ccode\u003eMetadata\u003c/code\u003e, which grants access to the draft's metadata (such as the To/cc list); \u003ccode\u003eNone\u003c/code\u003e, which means no draft data is accessible; and \u003ccode\u003eUnspecified\u003c/code\u003e, the default when no other option is chosen.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDraftAccess\u003c/code\u003e enum is part of the Google.Apps.Script.Type.Gmail namespace, within the Google.Apps.Script.Type.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]