Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.airglow.cc/llms.txt

Use this file to discover all available pages before exploring further.

Gmail Calendar app rendering an extracted-event side panel next to an opened Gmail message
Draft calendar fields from the email you are reading.
  • Page · Gmail
  • Action · Extract meeting details
  • Result · Calendar event draft

The problem

Turn an email into a draft. A meeting is buried inside an email thread. You need a clean calendar draft, but you still want to review it before saving.

The prompt

A natural prompt for your coding agent:
Build a Gmail app for the email I have open.
Extract the meeting details into an editable calendar draft.
If a date, time, or attendee is unclear, mark it for review instead of guessing.

Iterations

1

First pass

For the email I have open in Gmail, find the meeting info and turn
it into a calendar event draft. Title, when, where, who — that's it.
2

It hallucinated the time

The time you filled in is wrong — the email literally says
"afternoon, will confirm later" and you wrote 3pm. Don't invent
values. If anything is fuzzy, leave it blank and mark "needs review".
3

Handle timezones

Sender said "10am my time, I'm in Berlin". Right now you wrote
10am as if it's mine. Convert to my browser timezone and show
both — "10am Berlin / 1pm here".
4

Attendees come from headers, not the body

You added "Sarah" as an attendee because the email body mentioned
her. Sarah isn't on the To/CC line. Pull attendees from the
headers only.
5

Don't auto-save

Right now hitting Create writes to my Calendar immediately. I
want to review first. Default button should be "Copy fields";
"Save to Calendar" is a secondary explicit confirm.
6

Side panel, not inline

The draft is shoved inside the email body. Open it in a side
panel next to the message so I can compare while editing.

Result

  • The app turns the open email into calendar fields.
  • Ambiguous details are marked for review.
  • The user can copy or edit the draft before doing anything in Calendar.
  • Nothing is saved automatically.

Try it

Install Airglow

Clone the SDK repo and load the Chrome extension.

View source

Browse the Gmail Calendar app under airglow-apps/gmail-calendar/.