@chandinid407 Welcome to our UiPath Community.
mailMessage.Header("“HTMLBody”).ToString will return you a html body of an email message
To get it converted into datatable use one of the following:
RPA Listings - Collections, Integration Packs | UiPath Marketplace
NuGet Gallery | GetDataTableFromMail 1.0.0