Skip to content
EndueEndue
Docs

Gmail

The Gmail connector lets an agent work through your inbox: search it, read messages and threads, prepare drafts, and — with your approval — send.

Gmail is the connector most agents earn their keep with, because inbox work is repetitive and rule-shaped: triage, summarize, find the thing someone asked for last Tuesday, draft the reply you would have written anyway.

  1. Open Connectors in Agent Builder and choose Gmail.

  2. Sign in with Google and approve access. Endue receives only what the consent screen lists.

  3. Bind it to the agent that should use it.

OperationGated
Search messages, and search threadsNo
Read a message, or a whole thread in orderNo
List labels, list draftsNo
Write a draftNo
SendYes

Search accepts Gmail’s own search syntax — from:, label:, is:unread, after:, quoted phrases. Saying “unread mail from Sarah this week” is enough; the agent constructs the query.

The split between drafting and sending is the shape of every safe email workflow:

  • Draft is not gated. An agent can prepare ten replies while you are away, and they sit in your Gmail drafts.
  • Send stops and shows you the recipient, subject, and body. Approve it and exactly that message goes out.

For a routine that runs while you are asleep, ask for drafts. A send in an unattended run is refused, not queued.

  • Say what “handled” means. “Flag anything asking me a direct question, quote the question, ignore newsletters” beats “summarize my inbox”.
  • Point at labels. An agent that works from a label you already maintain inherits your triage instead of reinventing it.
  • Keep it to one mailbox. For two Google accounts, authorize two connections and bind each to the agent that needs it.
  • One Gmail account per connection.
  • An agent can read anything the authorization covers. If that is more of your mail than you are comfortable with, bind Gmail only to agents that need it.
  • Attachments are not read.
  • Sending always requires approval. There is no setting to allow an agent to send unattended.