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 documentation covers version 2.0.0 of the Google.Apps.Script.Type.Gmail, with links to other versions including the latest 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe content describes several classes such as \u003ccode\u003eComposeTrigger\u003c/code\u003e, \u003ccode\u003eContextualTrigger\u003c/code\u003e, \u003ccode\u003eGmailAddOnManifest\u003c/code\u003e, \u003ccode\u003eUnconditionalTrigger\u003c/code\u003e, and \u003ccode\u003eUniversalAction\u003c/code\u003e, which are used to manage and define various triggers and actions within Gmail add-ons.\u003c/p\u003e\n"],["\u003cp\u003eSeveral enums are detailed, including \u003ccode\u003eComposeTrigger.Types.DraftAccess\u003c/code\u003e, \u003ccode\u003eContextualTrigger.TriggerOneofCase\u003c/code\u003e, and \u003ccode\u003eUniversalAction.ActionTypeOneofCase\u003c/code\u003e, which specify different types of access and trigger cases.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComposeTrigger\u003c/code\u003e class activates when a user is composing an email, while the \u003ccode\u003eContextualTrigger\u003c/code\u003e fires when an opened email meets a specific criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUniversalAction\u003c/code\u003e class represents an action that is consistently accessible in the add-on's toolbar menu, irrespective of the email context.\u003c/p\u003e\n"]]],[],null,[]]