nextmail calendar
Every command in this namespace, with its arguments, flags and examples.
Commands
Calendar events found in mail, expanded into occurrences.
Every command here also takes the global flags, such as --json, --profile and --dry-run. See the global flags
calendar list-eventscalendar get-eventcalendar get-event-icscalendar create-eventcalendar update-eventcalendar delete-eventcalendar cancel-eventcalendar respond-to-eventcalendar decline-proposalcalendar hide-eventcalendar unhide-eventcalendar free-busycalendar list-feedscalendar create-feedcalendar reset-feedcalendar delete-feedcalendar list-subscriptionscalendar create-subscriptioncalendar update-subscriptioncalendar refresh-subscriptioncalendar delete-subscriptioncalendar import-icscalendar list-importscalendar get-importcalendar undo-import
openemail calendar list-events
List one page of event occurrences inside a time window
Usage
nextmail calendar list-events --from <when> --to <when> [flags]
Expands your events into their occurrences between from and to and returns one page of them, sorted by start time and then by event id. A recurring series gives one row per instance in the window, with its excluded dates left out, and every row points back to its event through eventId. The window is required because a repeating series has no end to list up to.
to must be after from and at most 366 days later. A missing from or to is a 422 invalid_parameter, while a value that does not parse, a reversed or overlong window, or an unknown zone is a 400 invalid_parameter naming the field. Both bounds take a Date or an ISO 8601 string, and the SDK converts a Date with toISOString().
timezone is an IANA zone and defaults to UTC on the server. It is used to expand any event stored without a zone of its own, which is what decides the day an all day event lands on.
Add --all to walk every page: a table on a terminal, one JSON object per line when piped or with --ndjson, and one { items, hasMore, nextCursor } document with --json. --max <n> stops after that many items.
Flags
--from <when>Start of the window. Required.
--to <when>End of the window, after
fromand at most 366 days later. Required.--timezone <value>IANA zone such as
Europe/London, at most 64 characters. Defaults toUTC.--include-teamAdds the events of the rest of the workspace, apart from the ones marked private. Only a key of the workspace owner sees more with it. Defaults to
false.Defaultfalse--q <value>Words to look for in the title, the place and the organiser, at most 200 characters. Only events that hold every word come back, so pass a long window to find an event by name, and the same
qwith every cursor.--limit <n>Occurrences per page, a whole number from 1 to 100. The server defaults to 25.
Default25--cursor <value>The
nextCursorof the previous page, sent with the same window. It is opaque, so never build one yourself.--allFetch every page and stream the items as they arrive.
--max <n>Stop after this many items. Implies
--all.--ndjsonPrint every item as one JSON object per line. Implies
--all
Examples
nextmail calendar list-events --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Znextmail calendar list-events --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Z --timezone Europe/London --limit 50nextmail calendar list-events --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Z --all --max 100nextmail calendar list-events --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Z --all > calendar.ndjsonAlso available in
openemail calendar get-event
Read an event with its attendees
Usage
nextmail calendar get-event <id> [flags]
Returns a stored event with its attendees and their responses. What the server understood from the iCalendar data is structured here: recurrence holds the RRULE text, exdates the excluded instances, organizer the organiser and alarms the reminders as { minutesBefore, action }. The raw iCalendar source is not included, and getEventIcs serves the event as a document.
id is the event id, the eventId on an occurrence, and not the iCalendar uid. A recurring series is one event however many occurrences it has, so start and end describe its first instance. messageId and threadId link the event to mail in the mailbox when there is any.
Attendees come back in the order they were added, each with partstat, role, rsvp, cutype and respondedAt. A narrowed key gets a 404 unless one of the addresses it covers organises the event or is on the attendee list, and a key that holds a whole domain covers every address on it.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Examples
nextmail calendar get-event cal_8d3f0a2b9c4e41f7a6b5c2d1nextmail calendar get-event cal_8d3f0a2b9c4e41f7a6b5c2d1 --jsonAlso available in
openemail calendar get-event-ics
Download an event as an iCalendar document
Usage
nextmail calendar get-event-ics <id> [flags]
Resolves with the event serialised as an .ics document, as a raw string rather than parsed JSON. The server sends it as text/calendar; charset=utf-8 with a download filename built from the event's uid, and the SDK requests that type and returns the body untouched.
The document declares METHOD:PUBLISH, and the content type carries no method parameter. That is deliberate: a REQUEST document makes a calendar client offer accept and decline and reply to the organiser, and this endpoint has no authority to invite anyone. Import it to show what the event currently is, not to send an invitation.
It holds one VEVENT with the attendees and their participation status, the recurrence rule, excluded dates and alarms. Lines end in CRLF and long lines are folded. DTSTAMP is the time of the request, so two downloads of an unchanged event differ on that line.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence.
Flags
-o, --out <file>Write the text to this file instead of printing it
Examples
nextmail calendar get-event-ics cal_8d3f0a2b9c4e41f7a6b5c2d1nextmail calendar get-event-ics cal_8d3f0a2b9c4e41f7a6b5c2d1 --out event.icsAlso available in
openemail calendar create-event
Put an event on the calendar
Usage
nextmail calendar create-event --summary <value> --start <when> --end <when> [flags] nextmail calendar create-event --data <json|@file|-> [flags]
Creates an event, as New event on the Calendar page of the app does. start and end take a Date or ISO 8601 with a zone, and timezone is the IANA zone the event belongs to, which decides what an all-day event means.
With attendees, an invitation goes to each of them by email from from, which has to be an address the key may send as, so the call also needs emails:send. Send sendInvites: false to keep it to your own calendar.
Flags
--summary <value>The title, 1 to 255 characters. Required, here or in
--data.--start <when>When it starts, a
Dateor ISO 8601 with a zone. Required, here or in--data.--end <when>When it ends, after
startand at most two years later. Required, here or in--data.--description <value>Notes about the event, up to 8,000 characters.
--location <value>Where it is: a room, an address or a link.
--url <value>A link that belongs to the event.
--meeting-url <value>The link to the video call, such as a Zoom, Meet or Teams address. The invitation carries it, so guests get a Join button in their calendar too.
--all-dayWhether it fills whole days.
startandendthen mark the days.--timezone <value>The IANA zone the event belongs to,
UTCunless you say.--recurrence <value>An RRULE such as
FREQ=WEEKLY;BYDAY=MOwhen it repeats.--attendees <json|@file|->Up to 200 people to invite, each
{ email, name?, optional? }. JSON shaped asArray<CalendarAttendeeInput>, inline or from a file with @path.--reminders <json|@file|->Up to five reminders, each
{ minutesBefore, action? }. JSON shaped asArray<CalendarReminderInput>, inline or from a file with @path.--transparency <value>OPAQUEshows you busy andTRANSPARENTfree.--visibility <value>PUBLIC,PRIVATEorCONFIDENTIAL.--send-invitesFalse keeps the change to your own calendar, and sends nothing.
--from <value>The address the invitations come from. It has to be one the key may send as.
--data <json|@file|->The whole
bodyas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar create-event --summary Planning --start 2026-10-12T09:00:00Z --end 2026-10-12T09:30:00Znextmail calendar create-event --summary Planning --start 2026-10-12T09:00:00Z --end 2026-10-12T09:30:00Z --from [email protected]nextmail calendar create-event --data @calendar.jsonAlso available in
openemail calendar update-event
Change an event
Usage
nextmail calendar update-event <id> [flags]
Changes an event you organise. A field you leave out keeps its value, and attendees replaces the whole list. Everyone invited gets the updated invitation by email from from, so a change to an event with attendees needs emails:send too, unless --send-invites is false.
For a repeating event, scope says which dates change, as the app asks when you edit one date: occurrence changes only the date that starts at --occurrence-start, following that date and every one after it, and series all of them. With following the later dates become a new series with its own id, which is what comes back, and the old one ends the day before.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Flags
--summary <value>The title, 1 to 255 characters.
--start <when>When it starts, a
Dateor ISO 8601 with a zone.--end <when>When it ends, after
startand at most two years later.--description <value>Notes about the event, up to 8,000 characters.
--location <value>Where it is: a room, an address or a link.
--url <value>A link that belongs to the event.
--meeting-url <value>The link to the video call. An empty string takes it off.
--all-dayWhether it fills whole days.
startandendthen mark the days.--timezone <value>The IANA zone the event belongs to,
UTCunless you say.--recurrence <value>An RRULE such as
FREQ=WEEKLY;BYDAY=MOwhen it repeats.--attendees <json|@file|->Up to 200 people to invite, each
{ email, name?, optional? }. It replaces the whole list. JSON shaped asArray<CalendarAttendeeInput>, inline or from a file with @path.--reminders <json|@file|->Up to five reminders, each
{ minutesBefore, action? }. JSON shaped asArray<CalendarReminderInput>, inline or from a file with @path.--transparency <value>OPAQUEshows you busy andTRANSPARENTfree.--visibility <value>PUBLIC,PRIVATEorCONFIDENTIAL.--send-invitesFalse keeps the change to your own calendar, and sends nothing.
--from <value>The address the invitations come from. It has to be one the key may send as.
--scope <value>occurrence,followingorseries: which dates of a repeating event change. Left out, the change reaches the event or date the id names.--occurrence-start <when>The start of the date you mean, as
listEventsgives it. Needed withoccurrenceandfollowing.--data <json|@file|->The whole
patchas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar update-event cal_3f9a1c7e5b2d48a06c1e9f4b --start 2026-10-12T10:00:00Z --end 2026-10-12T10:30:00Znextmail calendar update-event cal_3f9a1c7e5b2d48a06c1e9f4b --start 2026-10-12T10:00:00Z --end 2026-10-12T10:30:00Z --jsonAlso available in
openemail calendar delete-event
Remove an event from the calendar
Usage
nextmail calendar delete-event <id> [flags]
Removes an event for good, as Remove does in the app. Nobody else is told, so call off a meeting with others in it with cancelEvent instead. For a repeating event, scope occurrence with --occurrence-start removes one date, and following that date and every one after it.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Flags
--scope <value>occurrence,followingorseries: which dates of a repeating event go.--occurrence-start <when>The start of the date you mean, as
listEventsgives it. Needed withoccurrenceandfollowing.
Examples
nextmail calendar delete-event cal_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar delete-event cal_3f9a1c7e5b2d48a06c1e9f4b --scope occurrence --occurrence-start 2026-10-19T09:00:00Znextmail calendar delete-event cal_3f9a1c7e5b2d48a06c1e9f4b --yesAlso available in
openemail calendar cancel-event
Call off a meeting
Usage
nextmail calendar cancel-event <id> [flags]
Cancels a meeting you organise, as Cancel meeting does in the app. It stays on the calendar with status CANCELLED, and everyone invited is told it is off by email from from, so a meeting with attendees also needs emails:send.
For a repeating meeting, scope occurrence with --occurrence-start calls off one date, and following that date and every one after it. Guests get the matching update.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Flags
--from <value>The address the cancellation comes from. It has to be one the key may send as.
--scope <value>occurrence,followingorseries: which dates of a repeating meeting are called off.--occurrence-start <when>The start of the date you mean, as
listEventsgives it. Needed withoccurrenceandfollowing.--data <json|@file|->The whole
bodyas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar cancel-event cal_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar cancel-event cal_3f9a1c7e5b2d48a06c1e9f4b --from [email protected]nextmail calendar cancel-event cal_3f9a1c7e5b2d48a06c1e9f4b --yesAlso available in
openemail calendar respond-to-event
Answer an invitation
Usage
nextmail calendar respond-to-event <id> --response <value> [flags] nextmail calendar respond-to-event <id> --data <json|@file|-> [flags]
Accepts, declines or tentatively accepts an invitation, as the buttons of an invitation do in the app. The answer goes to the organiser by email from the invited address the key may send as, or from --responding-as when the invitation went to more than one of yours, so it needs emails:send as well.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Flags
--response <value>ACCEPTED,DECLINEDorTENTATIVE. Required, here or in--data.--responding-as <value>Which of your invited addresses answers, when there is more than one.
--proposed-start <when>A new start to propose with your answer, sent together with
--proposed-end.--proposed-end <when>The end of the proposed time.
--data <json|@file|->The whole
bodyas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar respond-to-event cal_3f9a1c7e5b2d48a06c1e9f4b --response ACCEPTEDnextmail calendar respond-to-event cal_3f9a1c7e5b2d48a06c1e9f4b --data @calendar.jsonAlso available in
openemail calendar decline-proposal
Decline a proposed time
Usage
nextmail calendar decline-proposal <id> --attendee <value> [flags] nextmail calendar decline-proposal <id> --data <json|@file|-> [flags]
Keeps the original time of a meeting you organise after a guest proposed another one, as Decline in the proposal on the event does in the app. The guest is told by email from from, or from the organising address, so it needs emails:send as well. To take the proposed time instead, change the event with updateEvent.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Flags
--attendee <value>The guest whose proposal you decline, by email address. Required, here or in
--data.--from <value>The address the answer is sent from, when it is not the organising address.
--data <json|@file|->The whole
bodyas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar decline-proposal cal_8d3f0a2b9c4e41f7a6b5c2d1 --attendee examplenextmail calendar decline-proposal cal_8d3f0a2b9c4e41f7a6b5c2d1 --data @calendar.jsonAlso available in
openemail calendar hide-event
Hide an event from your calendar
Usage
nextmail calendar hide-event <id> [flags]
Takes an event off your own calendar and leaves it for everyone else, as Hide from my calendar does in the app. Use it for an invitation that reached you through a shared address, or an event you may not remove. It hides every date of a repeating event, and stops its reminders for you. unhideEvent brings it back.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Examples
nextmail calendar hide-event cal_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar hide-event cal_3f9a1c7e5b2d48a06c1e9f4b --jsonAlso available in
openemail calendar unhide-event
Show a hidden event again
Usage
nextmail calendar unhide-event <id> [flags]
Puts an event you hid back on your calendar, as Show on my calendar does on the invitation in the app.
Arguments
<id>RequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Examples
nextmail calendar unhide-event cal_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar unhide-event cal_3f9a1c7e5b2d48a06c1e9f4b --jsonAlso available in
openemail calendar free-busy
Free and busy times
Usage
nextmail calendar free-busy --emails <a,b> --from <when> --to <when> [flags]
When the people you name are busy, as Find a time in the event editor of the app shows it. An address of the workspace shows the busy times of the person who holds it, from their events, the invitations they have not declined, their subscribed calendars and their bookings, without any detail. Any other address comes back with known false.
With --duration-minutes, suggestions lists up to five times when everyone known is free, on weekdays between 09:00 and 17:00 in timezone. from and to take a Date or an ISO 8601 string and may be at most 31 days apart.
Flags
--emails <a,b>RepeatableThe addresses to look up, at most 20. Required.
--from <when>The start of the window. Required.
--to <when>The end of the window, at most 31 days after
from. Required.--timezone <value>The IANA zone the suggested times keep to working hours in,
UTCunless you say.Default"UTC"--duration-minutes <n>The length of the meeting, 5 to 480 minutes. Send it to get
suggestions.
Examples
nextmail calendar free-busy --emails [email protected],[email protected] --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Znextmail calendar free-busy --emails [email protected],[email protected] --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Z --timezone Europe/London --duration-minutes 30nextmail calendar free-busy --emails [email protected],[email protected] --from 2026-10-01T00:00:00Z --to 2026-10-31T23:59:59Z --jsonAlso available in
openemail calendar list-feeds
List calendar links
Usage
nextmail calendar list-feeds [flags]
Resolves the secret links that publish your calendar to other calendar apps, as Share in the calendar settings of the app lists them. Anyone with a link can read what it shows, so treat url and webcalUrl like passwords.
Examples
nextmail calendar list-feedsnextmail calendar list-feeds --jsonAlso available in
openemail calendar create-feed
Create a calendar link
Usage
nextmail calendar create-feed --name <value> --mode <value> [flags] nextmail calendar create-feed --data <json|@file|-> [flags]
Makes a secret link that publishes your calendar as an iCalendar feed, for Google Calendar (From URL), Outlook (Subscribe from web) or Apple Calendar (New subscription). full shows every detail, busy only the times you are busy. The calendar app reads the link again on its own schedule, usually every few hours.
Flags
--name <value>The name calendar apps show for the calendar, up to 100 characters. Required, here or in
--data.--mode <value>fullfor every detail,busyfor busy times only. Required, here or in--data.--data <json|@file|->The whole
bodyas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar create-feed --name 'Work (busy)' --mode busynextmail calendar create-feed --data @calendar.jsonAlso available in
openemail calendar reset-feed
Reset a calendar link
Usage
nextmail calendar reset-feed <id> [flags]
Replaces the secret in a calendar link, so the old address stops working everywhere it was shared. Paste the new address into the calendar apps you still want to update.
Arguments
<id>RequiredCalendar link id,
cfd_followed by 24 hex characters.
Examples
nextmail calendar reset-feed cfd_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar reset-feed cfd_3f9a1c7e5b2d48a06c1e9f4b --yesAlso available in
openemail calendar delete-feed
Delete a calendar link
Usage
nextmail calendar delete-feed <id> [flags]
Turns a calendar link off for good. Calendar apps that subscribed to it stop getting updates.
Arguments
<id>RequiredCalendar link id,
cfd_followed by 24 hex characters.
Examples
nextmail calendar delete-feed cfd_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar delete-feed cfd_3f9a1c7e5b2d48a06c1e9f4b --yesAlso available in
openemail calendar list-subscriptions
List calendar subscriptions
Usage
nextmail calendar list-subscriptions [flags]
Resolves the other calendars you subscribe to by link, such as a Google or Outlook calendar address, a team rota or public holidays, as Other calendars in the app lists them. Their events show on your calendar, read-only.
Examples
nextmail calendar list-subscriptionsnextmail calendar list-subscriptions --jsonAlso available in
openemail calendar create-subscription
Subscribe to a calendar
Usage
nextmail calendar create-subscription --url <value> [flags] nextmail calendar create-subscription --data <json|@file|-> [flags]
Adds a calendar by its iCalendar link: an https, http or webcal address, such as the secret address of a Google calendar or a published Outlook calendar. It is read at once, then again about every half hour. name defaults to the name the calendar gives itself.
Flags
--url <value>The calendar link,
https,httporwebcal. Required, here or in--data.--name <value>The name to show, up to 100 characters.
--body-color <value>The colour of its events, from
CALENDAR_COLORS.--data <json|@file|->The whole
bodyas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar create-subscription --url webcal://example.com/holidays.icsnextmail calendar create-subscription --url webcal://example.com/holidays.ics --body-color greennextmail calendar create-subscription --data @calendar.jsonAlso available in
openemail calendar update-subscription
Change a calendar subscription
Usage
nextmail calendar update-subscription <id> [flags]
Renames a subscription or gives it another colour.
Arguments
<id>RequiredSubscription id,
csb_followed by 24 hex characters.
Flags
--name <value>The new name, up to 100 characters.
--patch-color <value>The new colour, from
CALENDAR_COLORS.--data <json|@file|->The whole
patchas JSON, inline, from a file with @path, or - for standard input. Flags override its keys.
Examples
nextmail calendar update-subscription csb_3f9a1c7e5b2d48a06c1e9f4b --name 'Team rota' --patch-color purplenextmail calendar update-subscription csb_3f9a1c7e5b2d48a06c1e9f4b --name 'Team rota' --patch-color purple --jsonAlso available in
openemail calendar refresh-subscription
Refresh a calendar subscription
Usage
nextmail calendar refresh-subscription <id> [flags]
Reads a subscribed calendar again now instead of waiting for the next half-hourly read, and restarts one that stopped after repeated failures.
Arguments
<id>RequiredSubscription id,
csb_followed by 24 hex characters.
Examples
nextmail calendar refresh-subscription csb_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar refresh-subscription csb_3f9a1c7e5b2d48a06c1e9f4b --jsonAlso available in
openemail calendar delete-subscription
Unsubscribe from a calendar
Usage
nextmail calendar delete-subscription <id> [flags]
Removes a subscription and every event it brought onto your calendar.
Arguments
<id>RequiredSubscription id,
csb_followed by 24 hex characters.
Examples
nextmail calendar delete-subscription csb_3f9a1c7e5b2d48a06c1e9f4bnextmail calendar delete-subscription csb_3f9a1c7e5b2d48a06c1e9f4b --yesAlso available in
openemail calendar import-ics
Import a calendar file
Usage
nextmail calendar import-ics <data> [flags]
Sends an iCalendar (.ics) file as the request body and queues it. Its events become events of your own that you can edit, and nobody on them is sent anything, now or when you change them later, unless you ask for that on the change. Poll getImport until status is completed.
The file may be 10 MB and hold 25,000 events. Several calendars in one file are merged, and the report keeps their names. An event whose UID is already in the workspace is skipped and counted, never overwritten, so sending the same file twice adds nothing.
data is a Blob, an ArrayBuffer or a Uint8Array, and it goes out as text/calendar.
Arguments
<data>RequiredThe .ics file: a
Blob,ArrayBufferorUint8Array.
Flags
--filename <value>The name to show for the file in the list of imports, at most 255 characters.
Examples
nextmail calendar import-ics ./calendar.icsnextmail calendar import-ics ./calendar.ics --filename work.icsAlso available in
openemail calendar list-imports
List calendar imports
Usage
nextmail calendar list-imports [flags]
Returns one page of the calendar files and calendars brought in, newest first, each with what it added and what it left out. Beside the files sent with importIcs it lists the calendars that came with a mailbox import, and those carry the id of that import in parentImportId.
Paging is keyset. --limit takes 1 to 100 and defaults to 25, and nextCursor goes back as --cursor while hasMore is true.
Add --all to walk every page: a table on a terminal, one JSON object per line when piped or with --ndjson, and one { items, hasMore, nextCursor } document with --json. --max <n> stops after that many items.
Flags
--limit <n>Imports per page, a whole number from 1 to 100. The server defaults to 25.
Default25--cursor <value>The
nextCursorfrom the previous page. Never build one yourself.--allFetch every page and stream the items as they arrive.
--max <n>Stop after this many items. Implies
--all.--ndjsonPrint every item as one JSON object per line. Implies
--all
Examples
nextmail calendar list-importsnextmail calendar list-imports --limit 50nextmail calendar list-imports --all --max 100nextmail calendar list-imports --all > calendar.ndjsonAlso available in
openemail calendar get-import
Get a calendar import
Usage
nextmail calendar get-import <id> [flags]
Resolves one calendar import with its counts and its report: the calendars it read, how many events it left out and why, and up to 20 of the events it left out. Poll it after importIcs until status is completed or failed.
counts.imported is what was added and counts.skipped what was left out, which report.skipped breaks down by reason: uid-taken for an event that was already here, no-start for one with no start time, invalid for one that could not be read and empty for a file or calendar that held no events.
Arguments
<id>RequiredCalendar import id,
iimp_followed by 24 hex characters.
Examples
nextmail calendar get-import iimp_3f9c2a7b1e4d8f60a5c7b92dnextmail calendar get-import iimp_3f9c2a7b1e4d8f60a5c7b92d --jsonAlso available in
openemail calendar undo-import
Remove what a calendar import added
Usage
nextmail calendar undo-import <id> [flags]
Deletes every event the import added, changed since or not, and marks the import undone. Nobody is told. Events that were skipped because they were already here are not touched.
Arguments
<id>RequiredCalendar import id,
iimp_followed by 24 hex characters.
Examples
nextmail calendar undo-import iimp_3f9c2a7b1e4d8f60a5c7b92dnextmail calendar undo-import iimp_3f9c2a7b1e4d8f60a5c7b92d --yes