[RCD] How to query IMAP Flag from within a plugin?