Documentation Index
Fetch the complete documentation index at: https://docs.fliiq.ai/llms.txt
Use this file to discover all available pages before exploring further.
A scheduled job that checks your Gmail inbox, summarizes important emails, and tracks what it’s already processed.
Job Definition
name: email-digest
trigger:
type: cron
schedule: "0 8 * * 1-5" # 8am UTC, weekdays
prompt: |
Check my Gmail for unread emails from the last 24 hours.
Read your job memory to see which emails you already summarized.
Summarize only new important emails (skip newsletters and promotions).
Update your memory with the message IDs you processed.
Format as a brief digest: sender, subject, one-line summary.
skills:
- receive_emails
- memory_read
- memory_write
delivery:
type: email
to: you@gmail.com
enabled: true
How It Works
- Agent reads
.fliiq/memory/jobs/email-digest.md to see previously processed message IDs
- Calls
receive_emails with filter: unread
- Filters out newsletters and promotions using LLM judgment
- Summarizes each important email in one line
- Updates job memory with new message IDs
- Delivers the digest via email
Sample Output
Morning Email Digest — Feb 12, 2026
- Alice Chen (Re: Q1 Planning) — Asked to reschedule Thursday's meeting to 3pm
- DevOps Bot (Deploy Alert) — Production deploy v2.4.1 succeeded, 0 errors
- James Wu (Contract Review) — Needs signature by EOD Friday, attached redlines
3 important emails. 12 filtered (newsletters, promotions).
Multi-Account Variant
Check multiple Gmail accounts by adjusting the prompt:
prompt: |
Check both my work email (work@company.com) and personal email
for unread messages. Use the work account credentials:
gmail_address=work@company.com, gmail_app_password=xxxx.
Combine into a single digest, labeled by account.