I'm trying to extract data from multiple tables in Outlook based on the table headers. Some tables may be missing

How do I go about extracting multiple tables from the body of the email in outlook? Is there a way to detect multiple tables using scraping?