I struggle with the mentioned lib and use of custom flags. The IMAP protocol specs states that system flags starts with , keywords do not have any prefix. There is the class Message with its methods setFlag and unsetFlag but it adds everytime the backslash as prefix:
$flag = "\\".trim(is_array($flag) ? implode(" \\", $flag) : $flag);
Is there any way around it or have I to implement this functionality by my own - or is there a general misunderstanding on my side?
As a side note: I have to use the API version 4.x