Gmail feed: Retrieve body from latest email. Powershell Gmail feed: Retrieve body from latest email. Powershell powershell powershell

Gmail feed: Retrieve body from latest email. Powershell


You're almost there! The final step is to specify you want the e-mail which has the $latestmail time-stamp as the issued property, and that you want the summary property of that e-mail:

($xml.feed.entry | Where-Object {$_.issued -eq $latestmail}).summary