fastmail-caldav

Installation
SKILL.md

Fastmail Calendar via CalDAV

Fastmail calendars are CalDAV collections; work them with plain-stdlib urllib and the app-password env vars. No caldav/icalendar packages needed.

Credentials

FASTMAIL_EMAIL and FASTMAIL_APP_PASSWORD are already in the Hermes environment. Basic auth over HTTPS; never echo the password.

Workflow

  1. Find the calendar. PROPFIND https://caldav.fastmail.com/dav/calendars/user/<FASTMAIL_EMAIL>/ with Depth: 1 and parse <d:displayname> per response to get the collection path matching the calendar's human name. Match the exact name the user gave.
  2. List existing events before writing. REPORT with calendar-query on the collection, VEVENT comp-filter plus a time-range covering the target window. Skip creating anything whose date already has an event; unrelated prior events on the calendar are normal — do not touch them.
  3. Create events. One PUT per event to <calendar-url>/<uid>.ics with a full VCALENDAR body and header If-None-Match: *. 200/201/204 = success; anything else is a failure — count it.
  4. Verify by reading back the same calendar-query and reconciling counts before reporting success.

ICS details

Installs
1
GitHub Stars
11
First Seen
14 days ago