Built by Metorial, the integration platform for agentic AI.
Modify a message's labels, move it to trash, or restore it from trash. Supports both single and batch operations on multiple messages.
View and manage Gmail settings including vacation responder (auto-reply), mail filters, forwarding addresses, and send-as aliases with signatures.
Create, update, send, list, get, or delete email drafts. Drafts can be composed with recipients, subject, body, and then sent when ready.
List, create, update, get, or delete Gmail labels. Labels organize messages and threads (e.g., INBOX, SENT, STARRED, or custom labels).
Get, list, modify labels, trash, or restore email conversation threads. Retrieve full thread conversations with all messages.
Search and list email messages using Gmail query syntax. Returns parsed messages with headers, body, and attachment metadata. Use the same search operators available in the Gmail search bar: `from:`, `to:`, `subject:`, `has:attachment`, `after:`, `before:`, `is:unread`, `label:`, etc.
Retrieve a single email message by its ID. Returns the full message including parsed headers, body (text and HTML), and attachment metadata.
Send an email message to one or more recipients. Supports plain text and HTML bodies, CC/BCC recipients, file attachments (base64-encoded), and replying within existing threads.
Download an email attachment by its ID. Returns the attachment as a file attachment plus its size. Use the attachment IDs from the message's attachments list.
Searches the authenticated user's Google Contacts from the People API by name, email address, phone number, or other fields.
Lists the authenticated user's Google Contacts from the People API with pagination support. Use the `pageToken` from a previous response to fetch the next page.
Retrieves detailed Google Contacts information for a People API resource name. Use `people/me` to get the authenticated user profile.
Immediately and permanently delete one or more Gmail messages. This bypasses Trash and cannot be undone.
Immediately and permanently delete a Gmail thread and all messages in it. This bypasses Trash and cannot be undone.