Integration
Connect Gmail to GoodAPI: Plant Trees
When something happens in Gmail, your agent does the next thing in GoodAPI: Plant Trees. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Gmail and GoodAPI: Plant Trees to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Gmail and GoodAPI: Plant Trees
Triggers and actions 2 triggers · 35 actions
Trigger
Email SentFires when an email is sent from the mailbox (optionally filtered by query). Managed by Composio (server-side poll; ~15 min floor).
Trigger
New Gmail MessageFires when a new email arrives (optionally filtered by query/labels). Managed by Composio (server-side poll; ~15 min floor).
Action
Add Label To EmailAdds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
Action
Create Email DraftCreates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
Action
Create LabelCreates a new label with a unique name in the specified user's gmail account.
Action
Delete DraftPermanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
Action
Delete MessagePermanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
Action
Fetch EmailsFetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
Action
Fetch Message By Message IdFetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
Action
Fetch Message By Thread IdRetrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
Action
Get AttachmentRetrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.
Action
Get ContactsFetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.
Action
Get PeopleRetrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return.
Action
Get ProfileRetrieves key gmail profile information (email address, message/thread totals, history id) for a user.
Action
List DraftsRetrieves a paginated list of email drafts from a user's gmail account. use verbose=true to get full draft details including subject, body, sender, and timestamp.
Action
List LabelsRetrieves a list of all system and user-created labels for the specified gmail account.
Action
List ThreadsRetrieves a list of email threads from a gmail account, identified by `user id` (email address or 'me'), supporting filtering and pagination.
Action
Modify Thread LabelsAdds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid.
Action
Move To TrashMoves an existing, non-deleted email message to the trash for the specified user.
Action
Patch LabelPatches the specified label.
Action
Remove LabelPermanently deletes a specific, existing user-created gmail label by its id for a user; cannot delete system labels.
Action
Reply To ThreadSends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.
Action
Search PeopleSearches contacts by matching the query against names, nicknames, emails, phone numbers, and organizations, optionally including 'other contacts'.
Action
Send DraftSends the specified, existing draft to the recipients in the to, cc, and bcc headers.
Action
Send EmailSends an email via gmail api using the authenticated user's google profile display name, requiring `is html=true` if the body contains html and valid `s3key`, `mimetype`, `name` for any attachment.
Action
Add charity donationMakes a charitable donation to a vetted nonprofit, identified by its EIN or nonprofit id. Returns the recorded donation with its id and amount.
Action
Find charitiesSearches the charity directory and returns the matching organizations. Search by all or part of a charity's name, or by its EIN for one exact organization; with neither, it returns a general list of charities.
Action
Get dashboard linkReturns the web address of your public impact dashboard, showing the trees planted and plastic rescued on your account. Share the link or embed it in your own site.
Action
Get planting evidenceReturns the verified planting evidence for your whole account: a summary of trees planted, carbon offset and area restored, plus the planting regions with their photo and video evidence.
Action
Get tree evidenceReturns the proof for one planted tree: where and when it was registered, funded, allocated and planted, together with location, planting crew and photo evidence.
Action
List planted treesReturns every tree planting on your account, along with your running totals for all time and for the current month.
Action
List rescued bottlesReturns the ocean-bound plastic bottle rescues registered on your account, with the running totals, optionally narrowed to one rescue, an attribution label or a date range.
Action
Plant TreesPlants the number of trees you ask for and returns confirmation of the planting, including the running totals for your account.
Action
Refund charity donationMarks a charity donation as refunded. Donations can normally only be refunded within the current billing cycle.
Action
Refund plastic bottle rescueRefunds a previous plastic bottle rescue and returns the refund record along with your remaining rescued bottle total.
Action
Refund tree registrationRefunds a tree planting you previously made, and returns the refund along with your updated tree total.
Action
Rescue plastic bottlesRescues the number of ocean-bound plastic bottles you ask for and returns confirmation of the rescue, including the running totals for your account.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.