☀️

Gmail & Calendar → Morning Rollup

CommunicationBeginner20 minutes

Get a daily morning overview of overnight emails and upcoming calendar events

Prerequisites

  • OpenClaw installed and running
  • Gmail account with API access enabled
  • Google Calendar API access enabled

Required Skills

gmail-reader
openclaw install gmail-reader
openclaw install google-calendar

Installation Steps

1

Install required skills

Install the Gmail reader and Google Calendar skills.

openclaw install gmail-reader google-calendar
2

Enable Google APIs

Enable the Gmail and Calendar APIs in your Google Cloud Console and generate OAuth credentials for your OpenClaw instance.

3

Add accounts

Add one or more Google accounts. The rollup will aggregate across all configured accounts.

4

Add the config snippet

Copy the configuration below and adjust the schedule and accounts to your preference.

Configuration

{
  "integrations": {
    "gmail": {
      "accounts": [
        { "label": "Work", "email": "you@company.com" },
        { "label": "Personal", "email": "you@gmail.com" }
      ],
      "rollup": {
        "lookbackHours": 12,
        "maxEmails": 30,
        "groupBy": "sender"
      }
    },
    "googleCalendar": {
      "accounts": ["you@company.com", "you@gmail.com"],
      "lookaheadHours": 14
    }
  },
  "cron": "0 7 * * *"
}

Add this to your openclaw.json and customize the values for your setup.

SOUL.md

## Morning Rollup Rules
- Lead with today's calendar: list events chronologically with times, titles, and attendees.
- For emails, group by account first, then by sender. Show subject lines and a one-line preview.
- Highlight anything that looks time-sensitive or mentions "today", "EOD", or "deadline".
- Keep the entire rollup scannable — no more than 2 lines per email.
- If there are no new emails for an account, say so briefly instead of omitting it.
- Never include email body content beyond the preview line — this is an overview, not a reader.

Add this to your SOUL.md to define the agent's behavior for this workflow.

Expected Behavior

Every morning at 7am, OpenClaw pulls overnight emails and today's calendar events across all configured accounts and delivers a concise rollup. Emails are grouped by sender with subject lines, and calendar events are listed chronologically.

Usage Guide

The rollup runs automatically on the cron schedule. Add more accounts by expanding the accounts arrays. Adjust lookbackHours to control how far back to scan for emails, and lookaheadHours for how far ahead to show calendar events.

Community Use Cases

All Use Cases →

More Communication Recipes

All Recipes →