Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Message → Delete a Message

AI-generated

Summary

Permanently deletes the Fastmail message with the supplied ID using JMAP. Processes each incoming item and returns a result linked to that item.

Inputs

  • Message ID (required) — Fastmail message ID to delete.
  • Fetch Options → Debug — When enabled, includes the raw JMAP response and a before-state snapshot in the output. Other fetch options do not affect this operation.

Output shape

One JSON item per input item, with action, messageId, and successful fields; when Debug is enabled, includes debug data.

successful is true when Fastmail reports the message ID as destroyed. Errors stop execution unless Continue On Fail is enabled, in which case the item contains an error field.

Links

Discussion