Read a Gmail message
One message in full, with its body as text and its attachments' names.
Free*
*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.
An example
Open Rachel's Gmail message about the Tabor and read all of it.
Your agent callsgoogle_mail_readFree*
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"mailbox": "support@halversoncycle.example",
"message_id": "192e1f0a7c3b9d41"
}Use it when
A search found the message and the agent needs all of it before answering.
What it does
One message in full: sender, recipients, the body as text and its attachments' names. Free.
What comes back
mailbox; message: id, subject, from, to, cc, received_at, body, thread_id, and attachment_list when there are any. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
mailbox | string | One of the mailboxes the agent may act as; optional when only one is connected. Up to 254 characters. |
message_idRequired | string | 1 to 200 characters. |
The call
Over MCP, call google_mail_read on https://api.conecto.chat/mcp/googleworkspace. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/google_mail_read \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"mailbox":"support@halversoncycle.example","message_id":"192e1f0a7c3b9d41"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_connected409 | Google Workspace isn't connected yet. | Connect it with google_connect. |
not_allowed403 | The mailbox is not one the agent may act as. | Use a connected mailbox; the owner adds one by connecting again. |
not_found404 | Google Workspace has no such message, event or file. | Search first and use its id. |
More Google Workspace tools
All 11 tools- Connect Google Workspace
google_connectConnects the company's Google Workspace through its own service account, for the mailboxes the agent may act as.Free - Search Gmail
google_mail_searchThe newest messages in a mailbox, or those matching a Gmail search.Free* - Send Gmail
google_mail_sendSends an email, or a reply in the same thread, as one of the company's mailboxes.$0.001 a call - Read a Google Calendar
google_calendar_eventsThe events in a mailbox's calendar between two times, in UTC.Free* - Add a Google Calendar event
google_calendar_createAdds an event to a mailbox's calendar and invites its attendees, with a Meet link if asked.$0.001 a call - Cancel a Google Calendar event
google_calendar_cancelCancels an event and tells its attendees; waits for the owner by default.$0.001 a call - Search Google Drive
google_drive_searchFiles in a mailbox user's Drive, shared drives included, whose words match.Free* - Read a Google Drive file
google_drive_readA Drive file's words: Docs, Sheets, Slides, text, PDF or Office, up to 5 MB.Free*
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md