IntegrationsCommunication

Automate Gmail without writing code.

Draft, send, sort and reply to email. Describe the job you repeat in plain English and Mitra builds an agent that does it in Gmail, on the schedule you set. You sign in on Gmail's own page, so Mitra never sees your password, and you can disconnect at any time.

Connect Gmail

200 credits to start · no credit card

What Mitra can do in Gmail.

63 actions an agent can take. You never pick from this list — Mitra works out which it needs from what you asked for. It is here so you can check that the thing you want is possible.

  • 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 lab
  • Batch delete messagesTool to permanently delete multiple Gmail messages in bulk, bypassing Trash with no recovery possible. Use when you need to efficiently remo
  • Batch modify messagesModify labels on multiple Gmail messages in one efficient API call. Supports up to 1,000 messages per request for bulk operations like archi
  • Create email draftCreates a Gmail email draft. While all fields are optional per the Gmail API, practical validation requires at least one of recipient_email,
  • Create filterTool to create a new Gmail filter with specified criteria and actions. Use when the user wants to automatically organize incoming messages b
  • Create labelCreates a new label with a unique name in the specified user's Gmail account. Returns a labelId (e.g., 'Label_123') required for downstream
  • Create prompt postSend a one-shot prompt to the Sanity Content Agent. Stateless one-shot prompt endpoint. No thread management or message persistence. Ideal f
  • Delete draftPermanently deletes a specific Gmail draft using its ID with no recovery possible; verify the correct `draft_id` and obtain explicit user co
  • Delete filterTool to permanently delete a Gmail filter by its ID. Use when you need to remove an existing email filtering rule.
  • Delete labelPermanently DELETES a user-created Gmail label from the account (not from a message). WARNING: This action DELETES the label definition itse
  • 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
  • Delete threadTool to immediately and permanently delete a specified thread and all its messages. This operation cannot be undone. Use threads.trash inste
  • Fetch emailsFetches a list of email messages from a Gmail account, supporting filtering, pagination, and optional full content retrieval. Results are NO
  • 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`. Spam/trash me
  • 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`. Returns a `mes
  • Forward messageForward an existing Gmail message to specified recipients, preserving original body and attachments. Verify recipients and content before fo
  • Get attachmentRetrieves a specific attachment by ID from a message in a user's Gmail mailbox, requiring valid message and attachment IDs. Returns the down
  • Get auto forwardingTool to get the auto-forwarding setting for the specified account. Use when you need to retrieve the current auto-forwarding configuration i
  • Get contactsFetches contacts (connections) for the authenticated Google account, allowing selection of specific data fields and pagination. Only covers
  • Get draftRetrieves a single Gmail draft by its ID. Use this to fetch and inspect draft content before sending via GMAIL_SEND_DRAFT. The format parame
  • Get filterTool to retrieve a specific Gmail filter by its ID. Use when you need to inspect the criteria and actions of an existing filter.
  • Get labelGets details for a specified Gmail label. Use this to retrieve label information including name, type, visibility settings, message/thread c
  • Get language settingsTool to retrieve the language settings for a Gmail user. Use when you need to determine the display language preference for the authenticate
  • Get peopleRetrieves either a specific person's details (using `resource_name`) or lists 'Other Contacts' (if `other_contacts` is true), with `person_f

+ 39 more

Often paired with Gmail.

The apps the jobs above reach for alongside it.

Hand over the work you keep repeating.

Your first agent is one sentence away.

Get started free

200 credits to start · no credit card · nothing to install