Use Imap.MarkMessageUnseenByUID method.
If you are using Imap.GetMessageByUID to download email messages IMAP
server automatically marks such messages as seen.
You may want to use use Imap.PeekMessageByUID instead - it works the same, but emails are not marked as seen.