Overview
This PR extends the existing Gmail piece for Activepieces MCP by implementing all actions and triggers as required in issue #8072, following the official documentation and reference standards.
What’s Included
New Triggers:
- New Starred Email: Fires when an email is starred (within 2 days)
- New Conversation: Fires when a new thread/conversation begins
- New Attachment: Fires when an email with an attachment arrives (optional filters)
- New Label: Triggers when a new label is created
New Actions:
- Reply to Email: Reply to an email within an existing thread, maintaining context
- Create Draft Reply: Generate a reply draft within an existing thread
- Add Label to Email: Attach a label to an individual email
- Remove Label from Email: Remove a label from an individual email
- Create Label: Create a new user label in Gmail
- Archive Email: Archive (move to “All Mail”) instead of deleting
- Delete Email: Move an email to Trash
- Remove Label from Thread: Remove a label from all emails in a thread
Search Actions:
- Find Email: Locate a specific email using keywords (subject, sender, content, etc.)
Testing
- Tested all triggers using a Google account with enabled Gmail API and appropriate OAuth credentials and local testing using Gmail Connect
- Confirmed all features work end-to-end, follow existing coding patterns, and avoid code duplication.
- Actions need to be tested
Notes
- No changes are done to existing Gmail actions/triggers
Closes #8072
/claim #8072