It is useless to show messages once in inbox and once in flagged
Add the backslash at the end of the condition line to avoid the syntax error