Integrations
Gmail
See what is open, list unread mail, read the messages on screen, search, and write a draft. It cannot send.
Where it works
Gmail in the browser, at mail.google.com.
Open the site in XataWorks Browser and the tools below appear in the page-tools list in the browser’s toolbar, ready for the agent in any chat that has the tab. There is nothing to install or switch on.
How it works
The reads use the session you are already signed in with. Searching moves your view to the results and changes nothing in the mailbox.
The one tool that changes anything writes a draft, and XataWorks asks you before it runs. No tool here can send, label, archive, delete or mark mail as read.
Tools
Each tool with the name XataWorks shows you, the name the agent uses, and the first sentence of the description the agent reads. You do not call them yourself: ask for what you want in your own words, and the agent picks the tool. Before one runs, XataWorks asks you, according to its class; Approvals and permissions explains the question and each answer.
Reads Read only
These only look things up.
- What this Gmail adapter can see
get_capabilitiesWhat this Gmail adapter can see on the current page, read from the page URL, plus the list of tools it registered. - What is open in Gmail
get_current_mail_contextWhat is open in Gmail right now: the current view (inbox, a named label, a search, sent, drafts, …), the label name or search query where there is one, the open thread id if a thread is actually open, and the account index. - List unread inbox mail
list_unread_mailList UNREAD messages in the Gmail INBOX for the account on screen — sender, subject, snippet, date and a link, newest first — plus the total unread inbox count. - Read the messages on screen
list_visible_threadsRead the messages currently on screen in Gmail — works on the inbox, a label, or a set of search results. - Search Gmail
search_mailSearch the user’s Gmail and return the matching messages.
Adds and changes Mutating
These change something, and the adapter declares the change additive: a create, an append, a status set.
- Draft an email in Gmail
draft_emailOpen a prefilled compose window in the user’s Gmail.
See Page tools in the user guide for how to see what a tab offers, or every integration.