Command

nylas calendar ai analyze

Analyze meeting patterns and get AI recommendations.

Written by Qasim Muhammad Staff SRE

What does nylas calendar ai analyze do?

The nylas calendar ai analyze command studies your historical calendar data to surface meeting-acceptance patterns, actual vs scheduled durations, timezone preferences, and peak focus times, then returns AI recommendations for optimizing your schedule. Specify --days to set the analysis window (default 90). Use --json to pipe results into dashboards or reporting scripts. Works with Google Calendar, Outlook, Exchange, Yahoo, iCloud, and IMAP providers.

Usage

nylas calendar ai analyze [--days N] [--json]

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--daysNumber of days to analyze (default 90)
--applyApply top recommendations automatically
--durationMeeting duration in minutes for scoring
--participantsParticipants for scoring (email addresses)
--score-timeScore a specific meeting time (RFC3339 format)

Examples

The nylas calendar ai analyze command studies your historical calendar data to surface meeting-acceptance patterns, actual vs scheduled durations, timezone preferences, and peak focus times, then returns AI recommendations for optimizing your schedule.

Analyze meeting patterns for the last 90 days

nylas calendar ai analyze --days 90

Analyze a shorter recent window

nylas calendar ai analyze --days 30

Export recommendations as JSON for a dashboard

nylas calendar ai analyze --days 90 --json

Example output

Analyzing 90 days of calendar history... done

Meeting patterns:
  • Peak acceptance: Tue-Thu, 10:00-12:00
  • Avg actual duration: 27 min (scheduled 30 min)
  • Most common cross-TZ pairing: America/New_York ↔ Europe/London

Recommendations:
  1. Schedule focus blocks Mon/Fri afternoons (low meeting load)
  2. Default 25-min meetings to match actual durations

Troubleshooting

Analysis shows 0 meetings

Check that you're authenticated with the right account. Run nylas auth whoami to verify.

Slow analysis on large calendars

Reduce the --days window. Analyzing 365 days of data can take 10-15 seconds on busy calendars.

Recommended guides

Run nylas calendar ai analyze --help for full help output.