Agent Jam logo

Agent Jam

  1. Integrations
  2. Gmail
Why Agent Jam?FeaturesIntegrationsPricing
Try App as GuestSign InGet Started for Free

Made with 🫖 by Boiling KettleBoiling Kettle

PrivacyTermsContact
Gmail logo

Gmail

Email

Send, read, and manage your emails directly from chat

Get Started for Free
View Pricing

60

Available Tools

2

Triggers

Featured Tools

Modify email labels

Adds and/or removes specified Gmail labels for a message; ensure `message_id` and all `label_ids` are valid (use 'listLabels' for custom label IDs).

user_id
message_id*
add_label_ids
+1
Batch delete Gmail messages

Tool to permanently delete multiple Gmail messages in bulk, bypassing Trash with no recovery possible. Use when you need to efficiently remove large numbers of emails (e.g., retention enforcement, mailbox hygiene). Use GMAIL_MOVE_TO_TRASH instead when reversibility may be needed. Always obtain explicit user confirmation and verify a sample of message IDs before executing. High-volume calls may trigger 429 rateLimitExceeded or 403 userRateLimitExceeded errors; apply exponential backoff.

userId
messageIds*
Batch modify Gmail messages

Modify labels on multiple Gmail messages in one efficient API call. Supports up to 1,000 messages per request for bulk operations like archiving, marking as read/unread, or applying custom labels. High-volume calls may return 429 rateLimitExceeded or 403 userRateLimitExceeded; apply exponential backoff.

userId
messageIds*
addLabelIds
+1
Create email draft

Creates a Gmail email draft. While all fields are optional per the Gmail API, practical validation requires at least one of recipient_email, cc, or bcc and at least one of subject or body. Supports To/Cc/Bcc recipients, subject, plain/HTML body (ensure `is_html=True` for HTML), attachments, and threading. Returns a draft_id that must be used as-is with GMAIL_SEND_DRAFT — synthetic or stale IDs will fail. When creating a draft reply to an existing thread (thread_id provided), leave subject empty to stay in the same thread; setting a subject will create a NEW thread instead. HTTP 429 may occur on rapid creation/send sequences; apply exponential backoff.

cc
bcc
body
+7
Create Gmail filter

Tool to create a new Gmail filter with specified criteria and actions. Use when the user wants to automatically organize incoming messages based on sender, subject, size, or other criteria. Note: you can only create a maximum of 1,000 filters per account.

action*
user_id
criteria*
Create label

Creates a new label with a unique name in the specified user's Gmail account. Returns a labelId (e.g., 'Label_123') required for downstream tools like GMAIL_ADD_LABEL_TO_EMAIL, GMAIL_BATCH_MODIFY_MESSAGES, and GMAIL_MODIFY_THREAD_LABELS — those tools do not accept display names.

user_id
label_name*
text_color
+3

All Tools (60)

54 of 54

Triggers
Coming Soon

Email Sent

webhook

Triggers when a Gmail message is sent by the authenticated user. It polls the 'SENT' label and emits metadata including sender, recipients, subject, timestamp, and thread ID.

New Gmail Message Received Trigger

webhook

Triggers when a new message is received in Gmail.

Ready to connect Gmail?

Get started with Agent Jam and connect Gmail along with 700+ other apps to supercharge your workflow.

Get Started for Free
Browse More Integrations