Add necessary details. for email metadata
how to search email metadata using VB.Net code
search the number 5674321 in the emails (number are stored in datatable)
from the results apply the for read and unread emails
for only read emails(should not include unread emails) : get attachment name , text , email body , email subject or other details we cannot do this using get mail message as far i knw as it has properties for “only Unread Mails”-- store emails details(metadata in datatable)
for unread emails : update in the field in web app using rest api