View Single Post
And following up for completeness

while the GUI does not show inbox items in the contexts view, AppleScript does find them if you recurse down the contexts tree