Defines a trigger that fires when the open email meets a specific criteria.
When the trigger fires, it executes a specific endpoint, usually
in order to create new cards and update the UI.
[[["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-07 UTC."],[[["\u003cp\u003eThis document details the Gmail-related components within the Google.Apps.Script.Type namespace, spanning versions 1.0.0 through 2.3.0, with 2.3.0 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eKey classes include ComposeTrigger, ContextualTrigger, GmailAddOnManifest, UnconditionalTrigger, and UniversalAction, each serving distinct purposes in customizing Gmail add-on behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe ComposeTrigger class defines a trigger activated when a user is writing an email, while the ContextualTrigger defines a trigger that fires when the open email matches specific criteria.\u003c/p\u003e\n"],["\u003cp\u003eEnums like ComposeTrigger.Types.DraftAccess, ContextualTrigger.TriggerOneofCase, and UniversalAction.ActionTypeOneofCase provide further customization options by defining access levels and possible cases for different trigger and action types.\u003c/p\u003e\n"],["\u003cp\u003eThe GmailAddOnManifest class allows customization of the appearance and execution of Gmail add-ons.\u003c/p\u003e\n"]]],[],null,[]]