Interface UpdateEmailMessagesInput

Input for SudoEmailClient.updateEmailMessages.

UpdateEmailMessagesInput

interface UpdateEmailMessagesInput {
    ids: string[];
    values: {
        folderId?: string;
        seen?: boolean;
    };
}

Properties

Properties

ids: string[]

A list of one or more identifiers of the email messages to be updated. There is a limit of 100 email message ids per API request. Exceeding this will cause an error to be thrown.

values: {
    folderId?: string;
    seen?: boolean;
}

The new value(s) to set for each listed email message.

Type declaration

  • Optional folderId?: string
  • Optional seen?: boolean