I am extracting HTML datatable from an email and converting it to excel table using ExtractDataTablesFromHTML activity

I can only do it successfully using Outlook Activity but I need to use using the Get Exchange Email activity for customization, I get the error below what should I do

Extract data tables from HTML: Object reference not set to an instance of an object.

Hi @Malebo_Legologela

try this

https://go.uipath.com/component/extract-tables-from-mail-839f39

Thanks
Ashwin S

@AshwinS2 my table extraction method works the problem is when I try to use the Get exchange mail activity and not Outlook activity

Thanks:)

@AshwinS2, I have an email table like below,

image

The column headers have a colspan=2 attribute.
The Table data fetched using your activity in this case is not accurate as below,

Any idea how to get the correct data for the tables which have colspan?

Thanks

Did you ever find the answer for this? I have the exact same error using the get exchange mail activity. i am also trying to write the table to excel.