gmail_gemini
Ask Gemini in Gmail to answer questions about your mailbox or a specific conversation; target a message by index, query, or folder and get the answer text.
Instructions
Ask Gemini in Gmail and return its answer text.
Without index/query/folder Gemini is asked from the mail list (questions about the mailbox, e.g. 'unread mail from Alice this week'); with them the conversation is opened first and the question is about that conversation. Raises gemini_unavailable when the account has no Gemini in Gmail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Row index of a conversation to ask about (from gmail.list / gmail.search). | |
| query | No | Run this Gmail search first and take `index` from its results. | |
| folder | No | Open this folder/label first and take `index` from it. | |
| prompt | Yes | The question or instruction (any Unicode). | |
| timeout | No | Max seconds to wait for the answer. | |
| expect_subject | No | Safety check: the conversation's subject must contain this text. |