Emails are getting automatically unread in gmail while configure with our erpnext

Hi Everyone,
i configure the client email with erpnext it getting automatically unread the gmail inbox ,while i use imap checkbox gets ticked


Thanks in Advance