ResetMessageLabels Method
Replaces the labels of the message specified by MessageSet with the labels specified by MessageLabels.
Syntax
async gmailimap.resetMessageLabels(): Promise<void>
Remarks
This method replaces the labels of the message specified by the MessageSet property with the flags specified by the MessageLabels property.