I just did this and paired it with ChatGPT to send me a Discord message like "You received mail from Progressive."
Seems silly and lazy but it was a fun afternoon project
(boring aside: USPS seems to have bespoke anti-bot measures which uses WASM to sign requests, which means you have to use full browser automation to login. Of course, most people instead parse the daily emails they send you which is a totally reasonable approach as well.)
Yep, came here to say this. I don't use it often, but it's pretty handy from time to time (e.g. checking to see if an important package requiring a signature is coming that day, so I can be home or arrange for someone else to be there).