JMAP icon

JMAP

Interact with JMAP email servers (Apache James, Twake Mail, etc.)

Email → Mark as Unread

AI-generated

Summary

Mark an email as unread by clearing the '$seen' keyword for the specified email ID.

Inputs

  • Authentication — Choose the authentication method to access the JMAP server (OAuth2, Basic Auth, or Bearer Token). Defaults to OAuth2.
  • Email ID (required) — Provide the unique identifier of the email to mark as unread.

Output shape

a single object indicating the result of the email keywords update operation

Returns an object with details about the update operation response from the JMAP Email/set method. If the update fails, an error is thrown.

Examples

Example 1: Mark an email with ID 'abc123' as unread

Set 'Email ID' to 'abc123' and choose the appropriate authentication method.

Links

Discussion