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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eComposeTrigger.Types.DraftAccess\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Apps.Script.Type\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDraftAccess\u003c/code\u003e enum defines the level of data access a compose trigger requires, with options including \u003ccode\u003eMetadata\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.3.0 is the latest version of this enum, with prior versions also being 2.2.0, 2.1.0, 2.0.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetadata\u003c/code\u003e field allows access to the draft's metadata, such as the audience list, while the \u003ccode\u003eNone\u003c/code\u003e field denies any draft data access.\u003c/p\u003e\n"]]],[],null,[]]