/claim #8072

Summary

Extends the Gmail piece with additional actions and triggers as outlined in #8072:

New Actions

  • Add Label to Email — attach a label to an individual email via messages.modify
  • Remove Label from Email — remove a specific label from an email
  • Create Label — create a new user label with configurable visibility options
  • Archive Email — archive by removing the INBOX label
  • Delete Email — move to trash via messages.trash
  • Remove Label from Thread — strip a label from all emails in a thread via threads.modify

New Trigger

  • New Starred Email — fires when an email is starred (polls for starred emails within the last 2 days)

Other Changes

  • Wires the existing New Conversation trigger into the piece registration (was defined but not registered)
  • Adds gmail.modify and gmail.labels OAuth scopes required for label management, archive, and delete operations

Implementation Notes

  • All new actions follow the existing pattern: createAction + googleapis + OAuth2Client
  • Label-related actions reuse the existing GmailProps.label dropdown for consistent label selection
  • Message/thread selection reuses existing GmailProps.message and GmailProps.thread dropdowns
  • The starred trigger follows the same polling pattern as new-email.ts

Claim

Total prize pool $200
Total paid $0
Status Pending
Submitted February 13, 2026
Last updated February 13, 2026

Contributors

NE

Nenad Ilic

@nenadilic84

100%

Sponsors

AC

Activepieces (YC S22)

@activepieces

$200