Build it
What do you want Gmail and OpenAI 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 OpenAI
Triggers and actions 7 triggers · 92 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.
Trigger
New batchList your organization's batches.
Trigger
New fileReturns a list of files.
Trigger
New modelLists the currently available models.
Trigger
New vector storeReturns a list of vector stores.
Trigger
New videoList recently generated videos for the current project.
Action
Cancel batchCancels an in-progress batch.
Action
Cancel runCancels a run that is in_progress.
Action
Cancel vector store file batchCancel a vector store file batch.
Action
Content moderationClassifies text for hate, harassment, self-harm, sexual, and violence categories using the Moderations API.
Action
Count input tokensReturns input token counts of the request.
Action
Create assistantCreate an assistant with a model and instructions.
Action
Create chat completionSends a list of chat messages to a model via the Chat Completions API and returns the assistant's reply.
Action
Create completionCreates a completion for the provided prompt and parameters.
Action
Create embeddingGenerates a vector embedding for input text using an embeddings model (e.g. text-embedding-3-small).
Action
Create messageCreate a message.
Action
Create runCreate a run.
Action
Creates and executes a batch from an uploaded file of requestsCreates and executes a batch from an uploaded file of requests
Action
Create threadCreate a thread.
Action
Create thread and runCreate a thread and run it in one request.
Action
Create vector storeCreate a vector store.
Action
Create vector store fileCreate a vector store file by attaching a File to a vector store.
Action
Create vector store file batchCreate a vector store file batch.
Action
Create video edit jobCreate a new video generation job by editing a source or existing generated video.
Action
Create video extensionCreate an extension of a completed video.
Action
Create video generation jobCreate a new video generation job from a prompt and optional reference assets.
Action
Create video remixCreate a remix of a completed video using a refreshed prompt.
Action
Delete assistantDelete an assistant.
Action
Delete eval runDelete an eval run.
Action
Delete fileDelete a file and remove it from all vector stores.
Action
Delete messageDeletes a message.
Action
Delete threadDelete a thread.
Action
Delete vector storeDelete a vector store.
Action
Delete vector store fileDelete a vector store file (removes from store, file itself not deleted).
Action
Delete videoPermanently delete a completed or failed video and its stored assets.
Action
Download video contentDownload the generated video bytes or a derived preview asset.
Action
Edit imageCreates an edited or extended image given one or more source images and a prompt.
Action
Generate imageGenerates an image from a text prompt using gpt-image-1 / DALL-E and returns the image URL or base64 data.
Action
Generate speechConverts text into spoken audio using a TTS model and the selected voice. Returns audio bytes.
Action
Get assistantRetrieves an assistant.
Action
Get batchRetrieves a batch.
Action
Get fileReturns information about a specific file.
Action
Get file contentReturns the contents of the specified file.
Action
Get messageRetrieve a message.
Action
Get modelRetrieves a model instance.
Action
Get runRetrieves a run.
Action
Get run stepRetrieves a run step.
Action
Get threadRetrieves a thread.
Action
Get vector storeRetrieves a vector store.
Action
Get vector store fileRetrieves a vector store file.
Action
Get vector store file batchRetrieves a vector store file batch.
Action
Get vector store file contentRetrieve the parsed contents of a vector store file.
Action
Get videoFetch the latest metadata for a generated video.
Action
List conversation itemsList all items for a conversation with the given ID.
Action
List filesLists files that have been uploaded to your OpenAI account.
Action
List messagesReturns a list of messages for a given thread.
Action
List modelsLists the models currently available to your account.
Action
List runsReturns a list of runs belonging to a thread.
Action
List run stepsReturns a list of run steps belonging to a run.
Action
List vector store file batch filesReturns a list of vector store files in a batch.
Action
List vector store filesReturns a list of vector store files.
Action
OpenAI agent messageRuns one AI agent turn on OpenAI and returns the model's reply. The turn is billed to the OpenAI account connected on this step, and the agent can call the account's AI tool automations.
Action
Retrieve responseRetrieves a previously created model response by its Response ID.
Action
Search vector storeSearch a vector store for relevant chunks based on a query and filter.
Action
Send model a messageSends a message to an OpenAI model via the Responses API and emits its response. Returns a Response ID usable as previous_response_id for multi-turn conversations.
Action
Submit tool outputs to runSubmit tool outputs when a run requires action.
Action
Transcribe audioTranscribes audio into the input language.
Action
Translate audioTranslates audio into English.
Action
Update assistantModifies an assistant.
Action
Update messageModifies a message.
Action
Update runModifies a run.
Action
Update threadModifies a thread.
Action
Update vector storeModifies a vector store.
Action
Update vector store file attributesUpdate attributes on a vector store file.
Action
Upload fileUpload a file that can be used across various endpoints.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.