Add to calendar
add_to_calendarCreate a local calendar event from an email by extracting ICS attachments, meeting links, dial-in details, attendees, and body text, then saving linked attachments.
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 (default: the [settings.attachments] auto_download setting) |