Fliiq's Own Channel
Give Fliiq its own Gmail address so people can email it directly — like texting a friend. Fliiq receives messages and responds from its own inbox.This is a channel — a way to talk to Fliiq.Set up Fliiq’s email channel →
Managing Your Accounts
Authorize Fliiq to access your Gmail, Calendar, Drive, Sheets, Docs, and Slides. Fliiq manages your inbox, schedules meetings, organizes files, builds spreadsheets, and drafts documents.This is account access — Fliiq acts as your personal assistant.Keep reading below ↓
Prerequisites
You need a Google Cloud project with OAuth credentials. This is a one-time setup.1. Create a Google Cloud Project
- Go to the Google Cloud Console
- Create a new project (or select an existing one)
- Name it something like “Fliiq”
2. Enable APIs
Enable these APIs in your project:- Gmail API — Enable here
- Google Calendar API — Enable here
- Google Drive API — Enable here
- Google Sheets API — Enable here
- Google Docs API — Enable here
- Google Slides API — Enable here
3. Create OAuth Credentials
- Go to APIs & Services → Credentials
- Click Create Credentials → OAuth client ID
- Application type: Web application
- Add
http://localhost:8080/callbackas an Authorized redirect URI - Copy your Client ID and Client Secret
4. Add to .env
.env
OAuth consent screen: If prompted, configure the consent screen as “External” for testing. Add your own Gmail addresses as test users. You don’t need to publish the app — test mode works fine for personal use.
Authorize Your Accounts
Once OAuth credentials are configured, authorize each Google account you want Fliiq to access:~/.fliiq/google_tokens.json and auto-refresh.
Authorize as many accounts as you need:
View Authorized Accounts
User Profile
When you authorize accounts, Fliiq adds them to~/.fliiq/user.yaml:
What Fliiq Can Do With Your Accounts
Gmail
With access to your Gmail, Fliiq can:- Read emails — fetch your inbox, filter by unread/read/all; extracts
Message-ID,In-Reply-To,References,To, andCCheaders for full threading context - Send emails — compose and send from your address, with support for
cc,bcc,in_reply_to, andreferencesfor proper conversation threading - Mark as read — clear unread status on processed emails
- Archive — move emails from Inbox to All Mail
- Delete — move emails to Trash
- Daemon email listener — when Gmail credentials are configured, the daemon polls your inbox every 60 seconds and routes inbound messages to the agent automatically. Disable with
FLIIQ_EMAIL_LISTENER=0. Check status withfliiq daemon status(reportsEmail: active/inactive).
gmail_address parameter to specify which authorized account to use. If you don’t specify, Fliiq uses the first authorized account.
Google Calendar
With access to your Calendar, Fliiq can:- List calendars — discover all your calendars (personal, work, shared, subscribed)
- List events — fetch events within any time range on any calendar
- Create events — schedule meetings with attendees, location, agenda, and optional Google Meet link
- Update events — change time, title, attendees, or details (auto-notifies attendees); add a Meet link to existing events
- Delete events — cancel events (auto-notifies attendees)
Google Drive
With access to your Drive, Fliiq can:- List files — browse folders and see what’s in them
- Search files — find files by name, type, or content
- Upload files — add new files to Drive (plain text or base64, max 5MB)
- Export files — export Google Docs/Sheets/Slides to PDF, CSV, and other formats
- Create folders — organize your Drive structure
- Delete files — move files to Trash
Google Sheets
With access to Sheets, Fliiq can:- Create spreadsheets — start new spreadsheets from scratch
- Read cell ranges — fetch data in A1 notation (e.g.
Sheet1!A1:D10) - Write cell ranges — update data in specific cells
- Append rows — add new rows to existing sheets
Google Docs
With access to Docs, Fliiq can:- Create documents — start new documents
- Read documents — fetch document content
- Insert text — add content at specific positions
- Batch update — apply multiple formatting and content updates at once
Google Slides
With access to Slides, Fliiq can:- Create presentations — start new slide decks
- Read presentations — fetch slide content and structure
- Add slides — insert new slides with specific layouts
- Insert text — add content to shapes and text boxes
- Batch update — apply multiple slide updates at once
How Authentication Works
Fliiq uses a smart resolution order for credentials:- OAuth first — if you’ve authorized accounts via
fliiq google auth, Fliiq uses those tokens. They auto-refresh and give access to both Gmail and Calendar. - App password fallback — if no OAuth tokens exist, Fliiq falls back to the
GMAIL_ADDRESS/GMAIL_APP_PASSWORDenv vars (Gmail only, no Calendar).
Fliiq’s Own Email vs Your Email
A quick reference for how Fliiq decides which account to use:| When you say… | Fliiq uses… | Configured via |
|---|---|---|
| ”Check my email” | Your authorized Gmail (OAuth) | fliiq google auth |
| ”Send from my work email” | Your work Gmail (OAuth) | fliiq google auth + user.yaml label |
| ”Check your inbox” / “Check Fliiq’s email” | Fliiq’s own bot email | FLIIQ_GMAIL_ADDRESS in .env |
| ”What’s on my calendar?” | Your Google Calendar (OAuth) | fliiq google auth |