- Integrations
- Gmail
Gmail integration: your agents send email from your own account
Agenola's Gmail integration lets your agents send, reply to and draft email from your connected Gmail account. Mailbox tasks such as labels, filters, signatures and auto-replies are available as flow steps too. You connect it in one click with your Google account.
How it works
Once Gmail is connected, Gmail steps appear in the flow editor under Add step → Integrations. A step sends an email, replies to a thread or creates a draft at that point in the flow; the recipient, subject and body can be filled in from the visitor's answers.
In the AI Assistant step you choose, on the Integrations tab, which Gmail actions the agent may use. It never uses an action you haven't picked, and unless you pick an action that searches or reads email, it doesn't look at your mailbox.
Email goes out from your connected account, so the recipient sees an ordinary email from your address. For replies you want to review first, the "Create draft" step saves the email as a draft in Gmail.
- Steps that send from your account, delete or change settings don't run until the confirmation box on the step is ticked, and they run under an hourly limit.
- Deleting can only touch an email you picked or one the agent listed earlier.
- For attachments, the beginning of text files is read; PDFs and images are not.
- When you remove the connection, Gmail steps stop; your email stays as it is.
What it does
This list is generated from the same source as the Gmail page in the dashboard: if it isn't listed here, we don't do it with Gmail. Flow steps live in the flow editor under Add step → Integrations → Gmail.
EmailAction · Flow step12
Search emails
Searches by sender, subject or keyword; returns the matching emails as a list, newest first.
Get email
Reads the email's sender, subject and the beginning of its text.
Send email
Sends a new email from the connected account.
Reply
Replies to the email in the same thread; to all recipients if you choose.
Forward
Forwards the email with its attachments to another address.
Archive
Removes the email from the inbox; does not delete it.
Mark read / unread
Marks the email as read or unread.
Star
Adds a star to the email or removes it.
Mark as spam
Moves the email to the spam folder or takes it out.
Move to trash
Moves the email to the trash; it can be restored within 30 days.
Restore from trash
Brings an email back from the trash.
Delete permanently
Deletes the email permanently, bypassing the trash.
ThreadAction · Flow step1
Get thread
Returns every email in a thread as a list, oldest first.
AttachmentAction · Flow step2
Get attachments
Returns the name, type and size of the email's attachments as a list.
Read attachment
Reads the named attachment's details and, for a text file, the beginning of its content. PDFs and images are not read.
DraftAction · Flow step5
Get drafts
Returns the saved drafts as a list.
Create draft
Saves the email to drafts without sending; you review and send it in Gmail.
Update draft
Changes the draft's recipient, subject or text; fields left empty stay as they are.
Send draft
Sends a saved draft from the connected account.
Delete draft
Deletes the draft permanently.
LabelAction · Flow step6
Get labels
Returns the account's labels as a list.
Create label
Creates a new label.
Add label to email
Adds a label to the email.
Remove label from email
Removes a label from the email.
Update label
Changes the label's name.
Delete label
Deletes the label; labeled emails are not deleted.
FilterAction · Flow step3
Get filters
Returns the filters applied to incoming email as a list.
Create filter
Sets up a filter that labels, archives, marks as read or stars incoming emails that match. Needs at least one condition and one effect.
Delete filter
Removes a filter; emails are not deleted.
Auto-replyAction · Flow step2
Get auto-reply
Reads whether the auto-reply is on, and its subject and text.
Set auto-reply
Turns the vacation auto-reply on or off and changes its text; fields left empty stay as they are.
SignatureAction · Flow step2
Get signature
Reads the connected account's email signature as plain text.
Change signature
Replaces the connected account's email signature with the given text.
Example conversations
Visitor: I'd like a quote for the business plan. We're a team of 40.
Agent: Our sales team prepares quotes. Could I have your company name and email address?
Visitor: Morgan Freight, sarah@example.com
Agent: Thanks, I've passed your request on. The team will email you with a quote.
Behind the scenes: The "Send email" step sends an email from your Gmail account to sales@yourcompany.com with the subject "Business quote: Morgan Freight, 40 people"; the body holds the visitor's answers and email address.
Visitor: Could you email me a summary of what we discussed?
Agent: Of course. I've sent the summary to james@example.com.
Behind the scenes: The "Send email" step sends the summary from your connected account to the address the visitor gave; the email stays in your Gmail Sent folder.
Visitor: We want to change the termination clause in our contract. What do we need to do?
Agent: Contract changes are reviewed by our legal team. I've passed your question on, and they'll reply by email.
Behind the scenes: The "Create draft" step saves the visitor's question and a suggested reply as a Gmail draft; your team reads it in Gmail, edits it and sends it.
Setup
- 1In Agenola, go to Integrations → Gmail and press "Connect Gmail".
- 2Choose your Google account and approve with every box on the consent screen ticked. If a box is left unticked, the connection isn't made; tick them all when you connect again.
- 3In the flow editor, add the step under Add step → Integrations → Gmail. Pick the actions the agent may use on the AI Assistant step's Integrations tab.
Detailed setup: How do I use Gmail, Google Calendar and Drive?
Permissions and where your data goes
- Sent to Gmail: the recipient, subject and body you write in steps or fill in from the visitor's answers; attachments of an email being forwarded.
- Read from Gmail: only when a step asks, the emails, drafts, labels and settings that step searches for or fetches. Your mailbox is not scanned in the background.
- Permissions requested: Gmail full access (read, send, modify) and basic settings (labels, filters, signature, auto-reply); your email address and Google ID to recognize the account.
- Connection details are stored encrypted on the server. Only the workspace owner and admins can connect or remove it, and you can revoke access at any time from your Google account's security settings.
Related integrations
See all integrationsGoogle Calendar
Shows free slots and books the appointment, with a Meet link, at the chosen time.
Calendly
The agent shows your free times and books the visitor into your Calendly.
Google Drive
Your agents search, read, copy and share files.
Google Docs
Your agents create documents and fill templates with the visitor's answers.
Google Sheets
Answers are added as rows, and the agent looks up prices and orders in the sheet.
Google Slides
Your agents create presentations and fill slides with answers.
Frequently asked questions
Whose name is the email sent in?
The connected Google account's. The recipient sees an email from your address and replies to it; sent email stays in your Gmail Sent folder.
Can the agent show visitors the email in my mailbox?
Only if you allow it. The agent uses the Gmail actions you pick in the AI Assistant step; unless you pick an action that searches or reads email, it has no access to your mailbox.
Why does it ask for full Gmail access?
Gmail steps cover searching, reading, sending, labels, filters, signatures and auto-replies, and Google requires its full access and settings permissions for these. You decide in your agents which steps run: the permission never runs a step you haven't added.
Can an email deleted by mistake be recovered?
An email removed with "Move to trash" can be recovered within 30 days; "Delete permanently" can't be undone. Neither step runs until its confirmation box is ticked.