Summarize Email Conversations
Find emails about the launch this week and summarize the decisions and outstanding questions.
Leina connects to Gmail to help you summarize email threads, prepare replies, and organize your inbox. Ask in your team chat. Leina does the work and brings back the result.
Connect Gmail, choose what to share, and hand off your first task.
You
Find the delivery email from Maya at Northstar. Draft a reply confirming delivery next Wednesday and asking her to confirm the receiving address. Save it in Gmail.
Leina
I saved a reply draft for Maya. It confirms next Wednesday’s delivery and asks her to verify the address.
Gmail · Reply draft
Re: Northstar delivery
Ready to review in Gmail.
A Gmail AI agent can read the messages you choose, extract decisions from email threads, and prepare a reply in your drafts. Tell it who to contact and whether to draft or send.
You specify the source and the destination. Leina uses the content available to your connection and returns the result for you to review.
Gmail is Google’s email service, with conversations, labels, and drafts.
Specify the sender, delivery date, and address question.
Read the delivery request and write the requested response.
Keep the response in Gmail for review before sending.
Review the recipient and wording before sending.
Copy a prompt, add your details, and send it to Leina in your connected team chat.
Find emails about the launch this week and summarize the decisions and outstanding questions.
Find the email asking about delivery and draft a reply confirming next Wednesday. Save it as a draft.
Find this week’s invoices and apply my existing Invoices label.
Send an email to [recipient] with subject [subject]: thank them for the meeting, confirm [decision], and ask for [next step] by [date].
Find Gmail messages about [project] from [date range]. Summarize confirmed decisions and open questions, then create a note under this Notion page: [page link].
Find Gmail messages about [customer or project] from [date range]. Summarize confirmed decisions and open questions, then send the brief to Feishu chat [chat ID].
Your next Gmail task can start with a message.
Tell Leina what you need in your team chat. Include the source, destination, and expected result.
Connect the tools involved and give Leina access to the content it needs.
Share the source material, say where the result belongs, and describe what you need.
Review the result and any changes in the connected app.
Hand off these everyday tasks to your AI employee.
Search Gmail threads by query and return lightweight thread summaries. Spam and trash stay excluded unless you explicitly target them in the query.
List Gmail threads with optional query filtering and pagination. Spam and trash stay excluded unless you explicitly target them in the query.
List Gmail messages with optional query, label, and pagination filters. Use `detail` to choose between identifiers only, lightweight summaries, or full normalized messages.
Get a Gmail message by message ID with a simplified normalized output. Use this when you only need subject, from, to, date, and body.
Fetch a Gmail message by message ID with a controllable response format. Use this when you need the normalized full message payload instead of the simplified `get_message` output.
Download a Gmail message attachment using metadata returned by a message action and upload it to Connector file transit storage.
Fetch all messages in a Gmail thread. Use this to inspect the full conversation payload for a known `threadId`.
Get the connected Gmail profile, including mailbox totals and the current `historyId`. Use the returned `historyId` as the checkpoint for incremental sync via `list_history`.
Send an email from the connected Gmail account. At least one recipient and one of subject or body are required.
Reply to an existing Gmail thread using the original message's reply headers. Supply to to override the original Reply-To or From recipient.
Reply to an existing Gmail thread while preserving Gmail threading. Use this when you want the reply to stay in the same conversation and optionally override recipients.
Create a Gmail draft with a simplified input and output shape. Returns the stable draft ID and current message and thread IDs.
Create a Gmail draft with recipients, subject, body, and optional threading. Supply replyToMessageId or threadId to draft a reply; this requires mailbox read access. Omitted subject and recipients are inherited from the reply target.
List Gmail drafts with pagination, and optionally hydrate each draft into full message details when `verbose` is true.
Get a Gmail draft by draft ID. Use the `format` parameter to control how much message detail is returned.
Update a Gmail draft. Supply replyToMessageId or a different threadId to rebuild its reply association; this requires mailbox read access. The subject must match the reply target. Header-only edits preserve the MIME body. Omit attachments to preserve them, supply a list to replace them, or [] to remove them. Empty strings clear fields. Content edits of unsupported MIME structures are rejected.
Send an existing Gmail draft as-is using the recipients already stored in the draft. Sending is immediate and cannot be scheduled by this action.
Permanently delete a Gmail draft by draft ID instead of sending it.
List all system and user-created Gmail labels. Use this to discover the internal label IDs required by label mutation actions.
Get details for a Gmail label, including its name, type, visibility settings, counts, and optional color.
Create a new Gmail label and return its internal label ID. Use the returned ID in downstream label modification actions.
Patch a user-created Gmail label. Use this for partial updates to the label name, visibility settings, or color.
Update an existing Gmail label's properties, including name, visibility settings, or color.
Permanently delete a user-created Gmail label from the mailbox. This removes the label definition itself rather than just detaching it from one message.
Add and/or remove labels on a single Gmail message. Provide at least one label mutation and use label IDs from `list_labels`.
Add and/or remove labels on up to 1,000 Gmail messages in one request. Use this for bulk archive, mark-as-read, or custom label workflows.
Move a Gmail message to trash. The message remains recoverable until it is permanently deleted by Gmail.
Restore a previously trashed Gmail message back to the mailbox.
Add and/or remove labels on every message in a Gmail thread. Use this when the label change should apply to the whole conversation.
Move an entire Gmail thread to trash, including all messages in that conversation.
Restore a previously trashed Gmail thread and its messages.
List Gmail mailbox change history after a known `startHistoryId`. Use this for incremental sync and checkpoint the latest returned `historyId`.
List Gmail filters for the mailbox. Use this to audit existing rules or avoid creating duplicates.
Get a Gmail filter by filter ID so you can inspect its criteria and actions.
Create a Gmail filter with matching criteria and resulting actions. Use this to automatically organize incoming mail.
Permanently delete a Gmail filter by filter ID.
Get the Gmail display language settings for the connected account.
Update the Gmail display language settings for the connected account.
Get the Gmail vacation responder settings, including whether auto-replies are enabled and their current content.
Update the Gmail vacation responder settings. Use this to configure out-of-office auto-replies and their active time window.
Get the current Gmail auto-forwarding configuration, including enabled status, forwarding address, and disposition.
List the forwarding addresses that are registered on the Gmail account.
Get the Gmail IMAP settings, including whether IMAP is enabled and how expunge or folder size settings are configured.
Update the Gmail IMAP settings, including enablement, auto-expunge behavior, expunge behavior, or max folder size.
Get the Gmail POP settings, including access window and message disposition.
Update the Gmail POP settings, including access window and disposition behavior.
Stop Gmail push watch notifications for the mailbox. Use this to disable notifications that were previously created via the watch endpoint.
Tell Leina which sources to use and where the result belongs.
Connect the Apps your work depends on, and give Leina the context to carry the task forward.
Hand off a task while your team is discussing it. Leina uses your connected tools and brings the result back to the conversation.
See How Leina Works in SlackI saved a reply draft for Maya. It confirms next Wednesday’s delivery and asks her to verify the address.
Ask it to summarize a conversation, prepare a reply draft, or label matching messages. Include the sender, topic, or date range so it can find the right email.
Yes. Gmail provides separate draft and send operations. Ask the assistant to save a draft and review it in Gmail.
This integration uses Google OAuth authorization rather than a Gmail API key.
Yes, with authorized Gmail and Notion connections. Specify the emails to summarize and the parent page where the summary should be created.
Start with one task you already need to do. Tell Leina what a finished result should look like.
Connect Gmail, choose what to share, and hand off your first task.