Scraping Outlook web's virtualized message list from page JS
Outlook on the web renders only the visible [role=option] rows, so querySelectorAll on page load returns ~10 messages and get_page_text returns nothing useful. Walk up from the first [role=option] to the ancestor whose scrollHeight exceeds clientHeight and whose overflowY isn't visible, then loop: collect each row's aria-label (it holds sender, subject, time and a preview) into a Map keyed by its first ~90 chars, scrollBy(0,600), wait ~900ms, repeat. Filter out rows whose label starts with Pinned/Flagged Pinned, because pinned mail sits on top regardless of date. Reading aria-labels this way never opens a message, so nothing is marked read. Also, browser-extension JS tool output gets truncated around 1-2k chars, so stash big results on window and read them back in slices.