Trigger a flow when a label is applied to or removed from a message in your inbox. For more information, refer to Gmail’s documentation.

Unless otherwise indicated, field types are text. Note that senders and recipients are formatted as - Name <email@email.com>.

Output

  • Labels
    • Label Added: title of the new label
    • Label Removed: title of the removed label
  • Email
    • Message ID: unique ID of the message
    • Thread ID: unique ID of the message thread (new, non-threaded messages have the same message and thread IDs)
    • Subject: subject line of the email
    • To: recipient of the email
    • Text Body: text in the body of the message
    • HTML Body: HTML formatted body of the message
    • From: sender of the email
    • CC (list of text): list of carbon copied recipients
    • BCC (list of text): list of blind carbon copied recipients
    • Attachment IDs (list of text): list of unique IDs of the email attachments
    • Labels (list of text): list of categories attributed to the message (for example, Unread, Important, or Category_Personal)
  • Context
    • Execution ID: unique ID of the flow instance