Skip to main content
Connect a Gmail mailbox to an AGO agent. AGO reads each new email, puts it in a category, and applies the actions you chose for that category: add a label, mark it as read, archive it, prepare a reply, reply on its own, or forward it to a colleague. You decide how far AGO goes, category by category. Most teams start with labels and drafts, then let AGO reply on its own for the categories where its drafts are sent without changes.

What you need

  • An AGO administrator account
  • A Gmail or Google Workspace mailbox you can sign in to
  • An agent whose knowledge covers the questions this mailbox receives, if you want AGO to prepare replies
Connecting Gmail requires Google sign-in to be enabled on your AGO environment. If the connect buttons are greyed out, contact AGO support. On Google Workspace, your Google administrator may need to allow the AGO application first.

Connect a mailbox

1

Choose the mailbox type

Open Channels > Mailboxes, then click:
  • Connect my mailbox for your own inbox. Only you can see it in AGO.
  • Connect a shared mailbox for an address such as contact@ or support@. You can then add the colleagues who follow it. By connecting it, you allow AGO support to open it, including its emails, to help you.
  • Connect a helpdesk mailbox to turn every email sent to a support address into a ticket. See Helpdesk mailboxes. As with a shared mailbox, connecting it allows AGO support to open it to help you.
2

Sign in with Google

A Google window opens. Sign in to the mailbox and keep the Gmail permission ticked. AGO asks for one permission once; the actions it takes are then limited by your settings in AGO.
3

Check how AGO sorts your emails

After the connection, the Preview tab opens. Click Preview my latest emails: AGO shows the category it would give each recent email and the actions it would take, without changing anything in your mailbox.If a category is wrong, pick the right one. AGO remembers it for that sender.
4

Choose what AGO does

Open What AGO does:
  1. Pick the agent that writes the replies.
  2. For each category, choose the actions. New mailboxes start with six categories (To respond, FYI, Invoices & payments, Meetings, Notifications, Newsletters & promotions); rename, delete or add your own. Describe each category in a sentence: AGO uses the description to sort emails.
  3. Click Save on each category you change.
From then on, AGO processes new emails as they arrive. Emails already in your inbox when you connect are left alone.

Actions per category

Replies look like the ones you write in Gmail: they stay in the conversation, and the original email is quoted below the answer, introduced by the date and the sender, in the mailbox language. Type the address to forward to: a colleague, even one who does not use AGO, or someone outside your organization such as your accountant. AGO warns you when an address is outside your organization, to catch typos. A forward looks like one you would make in Gmail: the “Forwarded message” header with the original sender, date, subject and recipients, then the original email in full, with its attachments. AGO adds a note at the top only when the recipient should be careful: the sender could not be verified, or the email shows signs of fraud such as a request for bank details. When the original email is larger than 18 MB, AGO forwards its text without the attachments and the note asks the recipient to open the original in the mailbox.

Rules

Categories sort every email into one place. Rules handle precise cases on top of that, in your own words: “a customer asks for a quote”, “an invoice above 10,000 euros”, “a message from our bank”. Several rules can apply to the same email. In What AGO does > Rules, click Add a rule, then:
  1. Give it a name.
  2. Under When the email…, describe something visible in the email, and say what does not count. For example: “A customer asks for a quote or a price proposal. A payment reminder does not count.” Vague rules apply badly.
  3. Under Then, choose what AGO does:
  1. Click Try on my latest emails: AGO shows which of your last 20 emails the rule applies to, without changing anything in your mailbox or keeping their content. Click the question mark next to an email to see why the rule applies or not. Adjust the wording until the list is right, then click Save.
Before a rule marks an email as read, archives it or forwards it, a second, more careful AI model reads the email again and must confirm the rule. If it does not, the email stays in your inbox and the activity shows The second check did not confirm the rule. Labels and Keep in sight apply as soon as the rule matches. Each rule card shows how many times the rule applied in the last 30 days, and how many times the second check turned it down. Switch a rule off with its Active toggle without deleting it. A mailbox can have up to 100 rules.

Move to automatic step by step

When most drafts of a category go out without edits, AGO says so on the category card, for example “11 of the last 12 drafts were sent without changes”. Click Switch to automatic, then Save. Even in automatic mode, AGO keeps a draft instead of sending when:
  • The sender is not verified, or, unless the mailbox replies to every verified sender, is not part of your organization or your trusted senders
  • The category is marked Sensitive
  • Someone already replied in the conversation, or AGO already replied automatically in it
  • The agent is not sure of its answer
  • The reply contains a credential stored in your AGO settings, such as an API key
  • The reply links to a website other than your organization’s, the sender’s or one cited in your knowledge base
  • AGO reached the limit of automatic replies to that sender for the day
  • The email arrived more than a week ago, for example while the mailbox was disconnected. AGO still sorts it and prepares the draft
  • You had already read the email when AGO processed it, for example on your phone. AGO also leaves it in your inbox

Senders

In What AGO does > Senders, choose who gets automatic replies:
  • Trusted senders only (default): verified senders of your organization or of your trusted senders. Everyone else gets a draft.
  • Every verified sender: anyone whose address passes the sender verification, new customers included. Unverified senders still get a draft, and every other safeguard still applies.
Then add email addresses or whole domains (@example.com):
  • Trusted senders can receive automatic replies, once their address is verified. Your organization’s domain is always trusted.
  • Ignored senders are left alone: AGO does nothing with their emails.

Security checks

AGO checks every email before an AI model reads it:
  • Sender verification: AGO reads the SPF, DKIM and DMARC results Gmail records. An unverified sender never gets an automatic reply or forward.
  • Suspicious emails: hidden text, instructions written for an AI, a domain imitating a known one (acrne.com for acme.com), or a sender name hiding another address. These emails get the label AGO/⚠️ Review, stay unread in your inbox, and receive no reply.
  • Payments and passwords: requests to change bank details, urgent transfers, gift cards, passwords or codes are never handled automatically and are flagged for review.
  • Newsletters and automatic messages: AGO never replies to mailing lists, no-reply addresses or out-of-office messages, and never answers its own replies.
  • Hourly limit: past the number of automatic actions per hour set in Settings (20 by default), AGO pauses the mailbox and sends you a notification.
Replies to people outside your organization only use the public documents of the agent’s knowledge base.

Privacy

Only the person who connected a mailbox, and the members of a shared mailbox, can see it in AGO. Conversations from mailboxes never appear in Chat History, analytics or exports. In Settings > Privacy, choose what AGO keeps:
  • Actions only (default): AGO records what it did and why, never the content of your emails. In Activity, senders and subjects are read live from Gmail.
  • Private history: AGO also keeps an encrypted copy of the sender, the subject, an excerpt and the drafts it wrote, for 7, 30 or 90 days.
In both modes, AGO also keeps a short encrypted explanation of why it chose each email’s category and rules, deleted after the same period (30 days by default). AGO support can open a shared mailbox to help you, including its emails, activity and drafts. For a personal mailbox, AGO support can change its settings, categories and rules, but cannot read its emails, activity, drafts or preview unless you allow it. In Settings > AGO support access, choose how long (24 hours, 3 days or 7 days) and click Allow access; click Revoke access to end it early. Only the owner can allow or revoke it, and only the owner can disconnect or delete the mailbox while it is not allowed. Every time AGO support opens a mailbox, it is listed in Settings > Access by super administrators.

Send what AGO prepared

The To send tab lists the replies and forwards waiting for you, newest first; the number next to the tab tells how many. When some are waiting, the mailbox opens on this tab. Scroll down to load older ones. Each card says at the top whether it is a Reply or a Forward to a colleague, then shows the email you received and what AGO prepared. Long emails are folded: click Show more to read the rest.
  • Click Send: the message leaves from your mailbox, as if you had sent the draft from Gmail. A reply stays in the conversation; a forward includes the email you received and its attachments below AGO’s note.
  • Click the text, or Edit, to change it before sending; the cursor goes where you clicked. For a reply, the toolbar under the text offers bold, italic, links, numbered and bulleted lists and quotes, with Gmail’s shortcuts (⌘B, ⌘I, ⌘K, ⌘⇧7, ⌘⇧8, ⌘⇧9; Ctrl on Windows). For a forward, add a message above the forwarded email if you wish; it is plain text.
  • Click Discard to delete the draft. The email you received stays where it is.
The email and the drafts are read live from Gmail, whatever the privacy setting. A draft you send or delete in Gmail leaves the list. Only the owner and the members of the mailbox can send its messages; AGO support can only read them.

Follow and correct AGO

The Activity tab lists each processed email with its category and actions; an action taken by a rule shows the rule’s name. Click the question mark next to the category to see why AGO chose it and the rules, and why the second check confirmed them or not. Hover an action to see why AGO held it back. Turn on To review only to see suspicious emails and actions that were downgraded, blocked or failed.
  • Click the undo icon on an action to remove a label, mark an email as unread again, move it back to the inbox or delete a draft. Sent replies and forwards cannot be undone.
  • Move an email to another AGO/ label in Gmail: AGO remembers the new category for that sender.

Helpdesk mailboxes

A helpdesk mailbox turns a support address, such as support@, into a ticket inbox. It needs AGO’s own ticketing to be the active ticketing system; with Zendesk, Help Scout or HubSpot, keep using their email channel.
  • Every email becomes a ticket. A new email opens a ticket for its sender. AGO creates the requester’s account if needed and links it to their organization from their email domain. Ticket forms, triggers and SLA policies apply as for any other ticket. To sort tickets by topic, use the AI Category trigger condition: see AI routing categories.
  • Replies stay in the same ticket. When the customer answers, their message is added to the ticket of that email conversation, without the quoted history. A ticket that was pending or solved goes back to open.
  • Agents reply from the ticket. A public reply in the ticket is sent by email from the support address, in the customer’s email conversation. The people in copy of the customer’s latest email are listed above the reply box and kept in copy; untick Reply to all to answer the customer only. Internal notes are never emailed. If the email cannot be sent, the reply is not added to the ticket and your draft is kept so you can retry.
  • Replies written in Gmail are kept. A reply sent directly from the mailbox in a ticket’s conversation is added to the ticket.
  • Newsletters and automatic messages are left out. Mailing lists, out-of-office replies and no-reply senders do not open tickets.
  • Suspicious emails are flagged. When an email looks like phishing (hidden text, instructions aimed at an AI, a domain imitating a known one, a misleading sender name) or asks for a password or for payment details, AGO adds an internal note to the ticket with the warning.
  • Attachments stay in Gmail. The ticket lists the names of the attached files; open the email in the mailbox to see them.
A helpdesk mailbox has two tabs: Activity, where each email links to its ticket, and Settings, where you set the name shown to customers, the language, the agent’s replies and the members. The content of the emails is kept in the tickets.

Tickets from this address

In Settings > Tickets from this address, choose what every ticket opened by an email to this address starts with:
  • Team: for example, send billing@ emails to the Billing team.
  • Priority: leave it on Normal (default) or choose another one.
  • Signature: added below every reply emailed from a ticket, including the agent’s replies. When a signature is set, the agent no longer signs its replies itself.
Triggers run after these defaults and can still change them. In the ticket list, tickets that came in by email show the address they were sent to, and the Channel filter shows only email tickets, those of one address, those from a conversation, or the others.

Replies by the agent

In Settings > Replies by the agent, choose the agent that answers and what it does with each customer email:
  • Off: the agent writes nothing.
  • Suggest a reply (default): the agent writes a reply from its knowledge base, in the customer’s language. The ticket shows it above the reply box: click Use this reply to start from it, edit it if needed and send it, or click Set aside. A newer customer email replaces a suggestion nobody used.
  • Reply automatically when sure: the agent sends its reply on its own, from the support address in the customer’s email conversation. It only does so when it is confident in its answer, the reply contains no unexpected link or secret, and the sender passes the checks you choose under Automatic replies go to: your organization only, or every verified sender. It replies automatically at most once per ticket, never after a person replied, and no more than the number of Automatic replies per hour you set. Otherwise it suggests the reply, and the ticket says why.
Replies to people outside your organization only use the public documents of the agent’s knowledge base. Suspicious emails, newsletters and automatic messages never get a reply. The same section shows, for the last 30 days, how many replies the agent wrote, how many your team sent as is, edited or did not use, and how many were sent automatically. Use these numbers to decide when to let the agent reply on its own.

Pause or disconnect

  • Pause stops all actions. Emails received during the pause are not processed when you resume.
  • Settings > Disconnect revokes AGO’s access and deletes any stored email details. The activity history is kept.
  • Settings > Delete also deletes the activity history.
If Google revokes AGO’s access, for example after a password change, the mailbox shows Needs reconnection and you get a notification. Click Reconnect: your categories and settings are kept.