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 documentation outlines the \u003ccode\u003eComposeTrigger.Types.DraftAccess\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Apps.Script.Type\u003c/code\u003e namespace, which dictates the level of data access granted to a compose trigger.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.3.0 is the latest version of this documentation, which covers the \u003ccode\u003eComposeTrigger.Types.DraftAccess\u003c/code\u003e enum and its fields.\u003c/p\u003e\n"],["\u003cp\u003eThe enum offers three specific field options: \u003ccode\u003eMetadata\u003c/code\u003e, allowing access to draft metadata (such as the To/CC list); \u003ccode\u003eNone\u003c/code\u003e, denying any draft data access; and \u003ccode\u003eUnspecified\u003c/code\u003e, which represents the default state when no access level is defined.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions of the \u003ccode\u003eComposeTrigger.Types.DraftAccess\u003c/code\u003e range from version 1.0.0 up to the latest version 2.3.0, each with unique documentation.\u003c/p\u003e\n"]]],[],null,[]]