Proton Hydroxide

IMAP actions through the same Hydroxide transport

Email → Set Flags

AI-generated

Summary

Adds or removes the \Flagged flag on a Proton email identified by its UID. Choose the account from item metadata or provide a configured account label; the operation returns the input items with a flag result added to each item.

Inputs

  • Account Source — Choose From Item Metadata to use the account key in protonHydroxide.accountKey or accountKey on the input item, or Manual Label to select an account by its configured label.
  • Account Label (required) — Required when Account Source is Manual Label; matched to a configured account label without regard to case or surrounding whitespace.
  • Mailbox — Mailbox containing the email. Defaults to protonHydroxide.mailbox, then mailbox, from the input item, or INBOX.
  • Email UID (required) — Positive integer UID of the email. Defaults to attributes.uid, then uid, from the input item.
  • Flagged — When enabled (default), adds \Flagged; when disabled, removes it.

Output shape

Returns the input items, with one result object added to each item's JSON as protonHydroxideFlagResult.

Each result includes accountLabel, accountEmail, mailbox, uid, and flagged. Invalid UIDs, unresolved accounts, missing configured accounts, or unsupported flag removal cause an error.

Links

Discussion