Gmail
Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
Marshal securely connects with your Gmail MCP or direct API to read, send, search, and label emails through natural language.
Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
TASKS & TRIGGERS
Marshal can process a range of Gmail actions and events.
Showing 61 tasks
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).
Tool to permanently delete multiple Gmail messages in bulk, bypassing Trash with no recovery possible.
Modify labels on multiple Gmail messages in one efficient API call.
Creates a Gmail email draft.
Tool to create a new Gmail filter with specified criteria and actions.
Creates a new label with a unique name in the specified user's Gmail account.
Send a one-shot prompt to the Sanity Content Agent.
Permanently deletes a specific Gmail draft using its ID with no recovery possible; verify the correct `draft_id` and obtain explicit user confirmation before calling.
Tool to permanently delete a Gmail filter by its ID.
Permanently DELETES a user-created Gmail label from the account (not from a message).
Permanently 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.
Tool to immediately and permanently delete a specified thread and all its messages.
Fetches a list of email messages from a Gmail account, supporting filtering, pagination, and optional full content retrieval.
Fetches a specific email message by its ID, provided the `message_id` exists and is accessible to the authenticated `user_id`.
Retrieves messages from a Gmail thread using its `thread_id`, where the thread must be accessible by the specified `user_id`.
Forward an existing Gmail message to specified recipients, preserving original body and attachments.
Retrieves a specific attachment by ID from a message in a user's Gmail mailbox, requiring valid message and attachment IDs.
Tool to get the auto-forwarding setting for the specified account.
Fetches contacts (connections) for the authenticated Google account, allowing selection of specific data fields and pagination.
Retrieves a single Gmail draft by its ID.
Tool to retrieve a specific Gmail filter by its ID.
Gets details for a specified Gmail label.
Tool to retrieve the language settings for a Gmail user.
Retrieves 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.
Retrieves Gmail profile information (email address, aggregate messagesTotal/threadsTotal, historyId) for a user.
Tool to retrieve vacation responder settings for a Gmail user.
Tool to import a message into the user's mailbox with standard email delivery scanning and classification.
Tool to insert a message into the user's mailbox similar to IMAP APPEND.
Tool to list client-side encrypted identities for an authenticated user.
Tool to list client-side encryption key pairs for an authenticated user.
Retrieves a paginated list of email drafts from a user's Gmail account.
Tool to list all Gmail filters (rules) in the mailbox.
Tool to list all forwarding addresses for the specified Gmail account.
Tool to list Gmail mailbox change history since a known startHistoryId.
Retrieves all system and user-created labels for a Gmail account in a single unpaginated response.
Lists the send-as aliases for a Gmail account, including the primary address and custom 'from' aliases.
Lists S/MIME configs for the specified send-as alias.
Retrieves a list of email threads from a Gmail account, identified by `user_id` (email address or 'me'), supporting filtering and pagination.
Adds or removes specified existing label IDs from a Gmail thread, affecting all its messages; ensure the thread ID is valid.
Moves the specified thread to the trash.
Moves an existing, non-deleted email message to the trash for the specified user.
Patches the specified user-created label.
Tool to patch the specified send-as alias for a Gmail user.
Sends a reply within a specific Gmail thread using the original thread's subject; do not provide a custom subject as it will start a new conversation instead of replying in-thread.
Searches contacts by matching the query against names, nicknames, emails, phone numbers, and organizations, optionally including 'Other Contacts'.
Sends an existing draft email AS-IS to recipients already defined within the draft.
Sends an email via Gmail API using the authenticated user's Google profile display name.
Retrieves the IMAP settings for a Gmail user account, including whether IMAP is enabled, auto-expunge behavior, expunge behavior, and maximum folder size.
Tool to retrieve POP settings for a Gmail account.
Tool to retrieve a specific send-as alias configuration for a Gmail user.
Tool to stop receiving push notifications for a Gmail mailbox.
Tool to remove a message from trash in Gmail.
Tool to remove a thread from trash in Gmail.
Updates (replaces) an existing Gmail draft's content in-place by draft ID.
Tool to update IMAP settings for a Gmail account.
Tool to update the properties of an existing Gmail label.
Tool to update the language settings for a Gmail user.
Tool to update POP settings for a Gmail account.
Tool to update a send-as alias for a Gmail user.
Update user attribute values for a resource.
Tool to update vacation responder settings for a Gmail user.