Message Flags
Zimbra Message Flags
Zimbra Messages have a "flags" attribute that describes the state of the message. This flags attribute is of type String and has a one character code which represents a state:
u -> unread f -> flagged a -> has attachment s -> sent by me r -> replied w -> forwarded d -> draft x -> deleted n -> notification sent
by default a message priority is "normal" otherwise:
! -> priority high ? -> priority low
Improvement
flags attribute should be of type uint and store bitwise flags. They are easier and faster to parse.