Gmail
Connect your Gmail account to AI SmartTalk to handle email conversations with AI assistance. Incoming emails create conversation threads, and you can respond, create drafts, and automate email workflows with 11 powerful SmartFlow actions.

Overviewβ
The Gmail channel enables you to:
- Receive emails as conversation threads in AI SmartTalk
- Auto-respond using your AI assistant
- Create drafts for human review before sending
- Automate email workflows with 11 SmartFlow actions
- Search and manage your entire Gmail inbox programmatically
Key Featuresβ
| Feature | Description |
|---|---|
| π₯ AI Email Processing | Automatically analyze and respond to incoming emails |
| π Draft Mode | AI creates drafts for human review |
| π€ Direct Send | Auto-reply to simple queries |
| π Email Search | Search Gmail with powerful query syntax |
| π Thread Management | Handle complete email conversations |
| β Read Status | Mark emails as read automatically |
| π SmartFlow Integration | 11 actions + Gmail AI Draft trigger |
Prerequisitesβ
Before you begin, ensure you have:
- An active AI SmartTalk account
- A Gmail or Google Workspace account
- Permission to grant email access via OAuth
Step-by-Step Setupβ
Step 1: Access Gmail Channelβ
- Log into your AI SmartTalk account
- Navigate to Channels β Canals
- Find Gmail and click Connect
Step 2: Authorize with Googleβ
- Google OAuth window opens
- Select your Google account
- Review the permissions requested:
- Read email messages
- Send email on your behalf
- Manage drafts
- Search and organize emails
- Click Allow
Security Note: AI SmartTalk uses secure OAuth 2.0. We never see or store your Google password.
Step 3: Verify Connectionβ
Once connected, you'll see:
- β Integration Active - Your Gmail integration is working properly
- Connected status with your email address

Step 4: Configure Email Settingsβ
After authorization, configure how emails are handled:
| Setting | Description |
|---|---|
| Auto-reply | AI responds automatically to incoming emails |
| Create draft only | AI creates drafts for human review |
| Labels/Folders | Which emails to process (Inbox, specific labels) |
| Response delay | Wait time before AI responds (optional) |
What You Can Doβ
Connect your Gmail account to enable these powerful features:
- β Send emails via Gmail - Send emails directly from SmartFlow
- β Read and search emails - Access your inbox programmatically
- β Use in SmartFlow workflows - 11 dedicated Gmail actions
- β AI-powered email responses - Generate intelligent replies
How Gmail Channel Worksβ
Email β Conversationβ
Incoming Email AI SmartTalk Chat
βββββββββββββββββββ βββββββββββββββββββ
β From: customer β βββββΆ β βοΈ customer@... β
β Subject: Help β β "I need help..." β
β Body: I need... β β β
βββββββββββββββββββ β π€ AI Response β
βββββββββββββββββββ
Thread Continuityβ
- Email replies stay in the same conversation thread
- AI has full context of the email chain
- Thread history visible in Chat view
SmartFlow Integrationβ
Gmail AI Draft Triggerβ
The Gmail AI Draft trigger activates when a new email arrives, allowing you to build custom AI-powered email workflows.

Trigger: Gmail AI Draft
Event: User sends an email to connected Gmail instance
Actions:
1. AI Request (Analyze and generate response)
2. Create Gmail Draft (For human review)
Available Gmail Actionsβ
AI SmartTalk provides 11 Gmail actions in SmartFlow:
| Action | Description | Use Case |
|---|---|---|
| π€ Send Gmail Email | Send email directly | Auto-reply to queries |
| π¬ Read Gmail Emails | Fetch inbox emails | Process new messages |
| π§ Get Gmail Email | Get specific email | Retrieve full content |
| β©οΈ Reply to Gmail Email | Reply to thread | Continue conversations |
| π Search Gmail Emails | Search with queries | Find specific emails |
| β Mark Gmail Email as Read | Update read status | Organize inbox |
| π Create Gmail Draft | Create draft for review | Human oversight |
| π List Gmail Drafts | List all drafts | Draft management |
| π¨ Send Gmail Draft | Send existing draft | Approve & send |
| ποΈ Delete Gmail Draft | Remove draft | Cleanup |
| π Get Email Thread | Get full conversation | Full context |
π See full documentation: Gmail SmartFlow Actions
Example: AI Email Assistant Workflowβ
Trigger: Gmail AI Draft
Channel: Gmail
Actions:
1. Get Email Thread:
Thread ID: {{email.threadId}}
2. AI Request:
System: "You are a professional email assistant"
Input: {{thread.messages}}
Output: response, sentiment, urgency
3. If Condition: urgency == "high"
βββ Yes: Send Gmail Email (immediate)
βββ No: Create Gmail Draft (for review)
4. Slack Notification:
Channel: #emails
Message: "Email from {{email.from}} processed"
Example: Support Email Workflowβ
Trigger: Gmail AI Draft
Condition: Subject contains "support" OR "help"
Actions:
1. AI Request:
System: "Analyze this support email and draft a helpful response"
Input: {{email.body}}
Output: response, category, priority
2. Create Gmail Draft:
To: {{email.from}}
Subject: Re: {{email.subject}}
Body: {{ai_response}}
3. Create JIRA Issue:
Summary: "Support: {{email.subject}}"
Priority: {{priority}}
4. Mark Gmail Email as Read:
Email ID: {{email.id}}
Use Casesβ
Customer Supportβ
Handle inbound support emails:
- AI analyzes the issue
- Drafts appropriate response
- Creates support ticket automatically
- Team reviews and sends
Sales Inquiriesβ
Respond to sales questions:
- AI answers product questions from knowledge base
- Creates personalized draft with pricing info
- Sales team reviews before sending
FAQ Handlingβ
Auto-respond to common questions:
- AI recognizes frequent questions
- Sends immediate response
- Frees team for complex issues