Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Message → Mark a Message as Not Spam

AI-generated

Summary

Mark the specified Fastmail message as not spam by setting its $notjunk keyword and clearing $junk. The operation updates the message in Fastmail and returns an item describing whether the update succeeded.

Inputs

  • Message ID (required) — ID of the message to mark as not spam.
  • Fetch Options → Debug — When enabled, adds the raw JMAP response and before/after message state to the output. Other Fetch Options are not used by this operation.

Output shape

One item per input item, with a JSON object containing action, messageId, successful, updated, and notUpdated.

A failed JMAP update raises an error; with Continue On Fail enabled, the output item contains an error field instead. Debug mode adds a debug object.

Links

Discussion