add_to_calendar
Add email events to your local calendar by extracting event data such as ICS attachments, meeting URLs, conference dial-in, attendees, and email body excerpts. Saves relevant attachments locally and links them in event notes.
Instructions
Add an email event to the local calendar (macOS Calendar.app / Linux via xdg-open). Automatically extracts event data from the email: ICS attachments, meeting URL (Zoom/Teams/Meet), conference dial-in / ID / passcode, attendees, and email body excerpt. All relevant email attachments (PDFs, docs, etc.) are saved locally and linked in the event notes. A native confirmation dialog is shown on macOS before the event is written. Returns one of: added | cancelled | timed_out | no_display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account name | |
| confirm | No | Show native confirmation dialog before adding (default: true) | |
| mailbox | No | Mailbox path (default: INBOX) | INBOX |
| email_id | Yes | Email UID | |
| alarm_minutes | No | Minutes before event to show an alert (default: 15) | |
| calendar_name | No | Target calendar name (empty = default calendar) | |
| save_attachments | No | Save non-ICS email attachments locally and link them in the event notes |