The newflags and oldflags properties are 5–character strings. The string must have the following values:
If the /answered flag is set, the first character is "A". If not, it is blank (“ “).
If the /flagged flag is set, the second character is "F". If not, it is blank (“ “).
If the /deleted flag is set, the third character is "D". If not, it is blank (“ “).
If the /seen flag is set, the fourth character is "S". If not, it is blank (“ “).
If the /draft flag is set, the fifth character is "R". If not, it is blank (“ “).