Docs
Sign in

Gmail

Gmail is Google's email service. With this connector, TAO can search and read your mail, write drafts, send and reply to messages, change labels and look up your Google Contacts.

Screenshot to add: An agent finding unread Gmail messages from a person and showing the results.

What you can do

Illustrative examples.

  • "Check my Gmail for unread messages from Alice."
  • "Draft a reply to the invoice email and save it in Drafts."
  • "Send a thank-you email to the three people on this list."
  • "Add the label Archive to this message."
  • "Find the phone number for Jordan in my contacts."

Before you connect

  • You need a Google account with Gmail. A work account (Google Workspace) or a personal account both work, as far as the code shows.
  • A platform admin must have enabled the Google connector. See Google.
  • You approve Google's consent screen yourself. The Gmail part asks to read, send and change mail, and to read and add contacts.
  • You do not enter a password or key in TAO.

Connect it

  1. Open My Connectors

    Go to Settings and open My Connectors.

  2. Find Google

    Find the Google tile. One tile covers Gmail, Drive and Calendar.

  3. Click Connect

    Click Connect (it says Connect another if you already have a connection). Your browser goes to Google.

  4. Approve access

    Pick your Google account and approve the permissions. Google sends you back to TAO.

  5. Check the result

    The tile shows Connected. You can name the connection, reconnect it or disconnect it from the same page.

Tools

Writes marked queued wait in Nexus > Approvals until a person approves them.

Tool nameWhat it doesRead or Write
gmail_list_messagesLists messages, optionally filtered with Gmail search (for example from a person, or unread). Default 20, up to 50.Read
gmail_get_messageGets the full message: subject, sender, recipients, date and body.Read
gmail_list_labelsLists the mailbox labels (Gmail's folders and tags).Read
gmail_get_my_profileShows the connected address and message and thread counts.Read
gmail_list_contactsLists or searches Google Contacts (name, email, phone). Default 30, up to 100.Read
gmail_send_mailSends an email. Body can be plain text or HTML.Write, queued
gmail_reply_messageReplies to everyone on an existing message. Body can be plain text or HTML.Write, queued
gmail_move_messageAdds or removes labels on a message (Gmail's way of moving).Write, queued
gmail_create_contactAdds a new Google Contact (name, emails, phone).Write, queued
gmail_create_draftSaves a draft in Drafts. It does not send.Write, immediate
gmail_mark_readMarks a message read or unread.Write, immediate

Total: 11 tools (5 reads, 4 queued writes, 2 immediate writes).

Limits and good to know

  • Drafts and read marks are not queued. They only touch your own mailbox, so there is nothing to approve. A draft is never sent by itself.
  • Reply goes to everyone. gmail_reply_message is a reply-all. If the original was sent by you, the reply goes to the original recipients instead. It refuses to send if nobody is left to reply to.
  • HTML emails. Set the body type to HTML for formatted emails. Plain text is the default.
  • No delete. There is no tool to delete a message or empty the trash.
  • Contacts. The contacts tools use the same Google sign-in.
  • Both Microsoft and Google connected. If you connect both, agents can use either for "check my email". Name the product to be sure.