imapHandler now returns all UIDs + flags in box