Summary

Extends the existing Gmail piece with all missing actions and triggers requested in #8072.

New Actions (6)

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 in Gmail
Archive Email Archive (remove from Inbox) rather than deleting
Delete Email Move an email to Trash
Remove Label from Thread Strip a label from all emails in a thread

New Triggers (1)

Trigger Description
New Starred Email Fires when an email is starred, using Gmail History API for efficient polling

Changes

  • Added 6 new action files in src/lib/actions/
  • Added 1 new trigger file in src/lib/triggers/new-starred-email.ts
  • Updated src/index.ts to register all new actions and triggers
  • Added required OAuth2 scopes: gmail.modify, gmail.labels

Implementation Notes

  • All new actions follow existing piece patterns (OAuth2Client + googleapis)
  • New Starred Email trigger uses History API with labelAdded history type for STARRED label — same efficient approach as the existing New Labeled Email trigger
  • Label dropdowns reuse existing GmailProps.label for consistency
  • Message/Thread selectors reuse existing GmailProps.message and GmailProps.thread

Resolves #8072

/attempt #8072

/claim #8072

Claim

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

Contributors

CR

Crazy-D1359

@Crazy-D1359

100%

Sponsors

AC

Activepieces (YC S22)

@activepieces

$200