Summary

Extends the Gmail piece with 6 new actions and 1 new trigger as specified in #8072, plus registers the existing New Conversation trigger.

New Actions

Action Description
Add Label to Email Attach a label to an individual email
Remove Label from Email Remove a specific label from an email
Create Label Create a new user label with visibility and color options
Archive Email Archive by removing INBOX label (moves to All Mail)
Delete Email Move an email to Trash
Remove Label from Thread Strip a label from all emails in a thread

New Triggers

Trigger Description
New Starred Email Fires when an email is starred (checks within 2 days)
New Conversation Fires when a new thread begins (was implemented but not registered)

Auth Changes

  • Added gmail.modify scope (required for label/archive/delete operations)
  • Added gmail.labels scope (required for label management)

Implementation Notes

  • All actions follow existing piece patterns (OAuth2Client, googleapis)
  • Reuses shared props (GmailProps.message, GmailProps.thread, GmailProps.label)
  • New Starred Email trigger uses polling strategy with is:starred after: query
  • No existing functionality modified — purely additive changes

/claim #8072

Claim

Total prize pool $200
Total paid $0
Status Pending
Submitted March 02, 2026
Last updated March 02, 2026

Contributors

MO

moth-asa

@moth-asa

100%

Sponsors

AC

Activepieces (YC S22)

@activepieces

$200