Here's how Gemini can help you avoid jetlag
Key Points
- Auto-detects flights from Gmail/Calendar
- Creates personalized jetlag schedules
- Adds itinerary to Calendar automatically
Summary
Gemini can automatically detect flights from a user's Gmail and Calendar, generate a jetlag-proof schedule, and add that itinerary to the user's calendar. The feature is powered by the Gemini 3.5 Flash model, which combines advanced planning intelligence with action capabilities to both produce recommendations and perform calendar writes.
Key Points
- Permissions: requires Gmail (read) and Calendar (read/write) consent.
- Flight extraction: parses confirmation emails and calendar entries to pull flight times, origins/destinations, and timezones.
- Schedule generation: model-driven recommendations for sleep timing, light exposure, naps, and gradual timezone shifts tailored to the itinerary.
- Automation: can create calendar events/itineraries automatically via Calendar API once user approves actions.
- Model: uses Gemini 3.5 Flash for planning + action — able to propose and execute schedule changes.
- Engineering notes: handle OAuth scopes, timezone conversions, email parsing edge cases, rate limits, retries, and user opt-out.
- Privacy: minimize stored data, request least-privilege scopes, and surface clear consent UX.