Mail and Packages: Custom component for UPS, FEDEX, and USPS

thanks, that would be huge. Right now I am testing an Outlook Online rule called “redirect” which claims to essentially forward the email but not modify the subject or sender. If that works, I’ll post an updated comment. It’s impossible to manually fire a rule in Outlook online or Outlook Mac so I had to fire up a VM to test with Windows.

edit: rule is only supported when the messages comes in - so I will update this tomorrow.

1 Like

Feel free to give this branch a try:

Wiki addition on how to configure OAuth:

Thanks! I’m gonna try this first thing tomorrow.

Just some clarity on this step

  • Select “Personal Microsoft accounts only” under supported account types

Mine is an actual paid for Office365 email account I own the tenant for and log in as “business or school account” vs “personal”

Just wanted to make sure that setting is accurate.

I forget the other settings off the top of my head, but you can give them all a shot, I don’t use office 365.

Looks like USPs has changed the format for the emails and images are no longer populating, anyone else seeing this as well?

I got my images from USPS today, if that helps?

1 Like

I’m not sure what they’ve done, but they’re only sending almost HTML emails for me only lol

I have been seeing this since September 22. I stopped getting any images in my HA instance. It’s on their website now. I am trying to see if there is any way I could switch back to old format emails.

I have emailed support to see if I could switch to the old format. I believe they are rolling out this new format slowly throughout the US.

Horrible, it doesn’t even display correctly in Gmail :face_with_symbols_over_mouth:

Its the same. I cant see anything unless I go to USPS website. Thanks for confirming though, I thought I was the only one not being able to see anything in the email too.

I’ll be working on this horrible new format they’ve rolled out.

I have a PR to fix the updated format:

Keep an eye out for a new beta.

1 Like

New beta’s out to handle the new format, enjoy!

1 Like

So before I updated to the new beta 0.30.5-b17. That broke my setup. But on beta b16, this morning, I was able to see my mail.

Looks like they reverted their change. I’ll keep an eye on it.

0.3.5-b19 resolves this error that was occurring, and should properly handle the format change if/when they decide to switch over.

Just updated too 0.3.5-b19 can report back that its working on my setup. Thanks

1 Like

So, I had this working with just amazon packages and USPS. However, I receive packages from UPS and FedEx as well, but for some reason the custom-card displays nothing after this update. Here is my yaml:

       name: Mail Summary
       details: true
       image: false
       gif_sensor: gif
       updated: sensor.mail_updated
       packages_delivered: sensor.mail_packages_delivered
       fedex_packages: sensor.mail_fedex_package
       ups_packages: sensor.mail_ups_packages
       usps_mail: camera.mail_usps_camera
       amazon_packages: sensor.mail_amazon_packages
       camera_entity: camera.mail_amazon_delivery_camera
       camera: true
       deliveries_message: camera.mail_amazon_delivery_camera```

Recently having issues with someone hacking my accounts due to some kind of breach. Having to enable 2 factor on everything finally if not to late to protect myself. If I enable two factor with the Comcast account, will this integration work since that’s where my email is that the module looks at for mail related to packages and the like?

No idea. You’d have to check their docs/faq/wiki.