Emailhook icon

Emailhook

Emailhook Node

Email → Update

AI-generated

Summary

Update the read status of an email in a specific inbox.

Inputs

  • inboxId (required) — Select the inbox. Choose from the list, or specify an ID using an expression.
  • emailId (required) — The ID of the email to update.
  • isRead — Whether to mark email as read or unread.

Output shape

a single record containing the updated email information

Returns the details of the updated email, including its ID and new read status.

Examples

Example 1: To mark an email as read, set 'isRead' to true along with the appropriate 'inboxId' and 'emailId'.

Set 'inboxId', provide 'emailId', and toggle 'isRead' to true.

Example 2: To mark an email as unread, set 'isRead' to false with the correct identifiers.

Set 'inboxId', provide 'emailId', and toggle 'isRead' to false.

Discussion