AI Agent Development Advanced Complexity 33 Views

Automated Google Gemini Email Assistant

Automate email classifications, drafts, and instant team status updates using Google Gemini LLM, synced directly with Gmail and Telegram triggers.

When clicking ‘Test workflow’
Get HTML
Gmail Themes
Get HTML Report
#damus Themes List
#damus Thread Themes
#damus Themes & Threads Report
gemini-2.0-flash-lite-preview
gemini-2.0-flash-lite-preview1
gemini-2.0-flash-lite-preview2
Gmail Report
Aggregate #damus Content
Sticky Note
Sticky Note1
Sticky Note2
Merge Themes and Content
Schedule Trigger
Sticky Note3
Sticky Note4
Sticky Note5
Telegram Themes
Telegram Themes & Threads
Sticky Note6
Nostr Read #damus

Step-by-Step Integration Guide

📋 Prerequisites

  • Google AI Studio: A free Gemini API key.
  • Gmail OAuth2: Verified credentials with access to read/write emails.
  • Telegram Bot API: Chat ID and Bot access token.

⚙️ Step-by-Step Configuration

  1. Gmail Inbox Trigger Node:
  • Select the Gmail account.
  • Set filters to fetch 'Unread' messages or messages matching a specific label.
  1. Google Gemini LLM Node:
  • Authenticate with your Gemini API key.
  • Provide a system prompt: *"Classify this email into Support, Sales, or Spam. Draft a polite B2B agency reply."*
  1. Gmail Reply Node:
  • Map the Gemini-generated draft reply into the 'Body' field.
  • Set Action to *'Create Draft'* or *'Send Reply'* directly.
  1. Telegram Notification Node:
  • Paste your Telegram Bot token and personal chat_id.
  • Set the message to notify your team when a priority reply is drafted.

🧪 Testing

  • Send a test business inquiry email to your inbox.
  • Trigger the workflow manually. You should receive a Telegram notification, and a drafted reply will appear in your Gmail draft folder.