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 provides reference information 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 has to a draft, with the available options being \u003ccode\u003eMetadata\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetadata\u003c/code\u003e field allows a compose trigger to access draft metadata, including the audience list (To/cc list), when a compose add-on is triggered.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNone\u003c/code\u003e field restricts compose trigger access to any draft data when a compose add-on is triggered.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this documentation available, ranging from version 1.0.0 to the latest version, 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]