Need help with Home-Assistant-Mail-And-Packages?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

218 Stars 20 Forks MIT License 967 Commits 3 Opened issues


Home Assistant integration providing day of package counts and USPS informed delivery images.

Services available


Need anything else?

Contributors list

GitHub GitHub Repo stars GitHub release (latest by date) hacs_badge Pytest CodeQL Validate with hassfest

GitHub contributors Maintenance GitHub commit activity GitHub commits since tagged version GitHub last commit Codecov branch

About Mail and Packages integration

The Mail and Packages integration creates sensors for supported shippers to show a snapshot of mail and packages that are scheduled to be delivered the current day. For the packages that are scheduled for delivery the current day a count of in transit and delivered packages will be provided. It also generates the number of USPS mail pieces and provides a rotating GIF of the USPS provided images of the mail, if available, for the current day.


  • Huge contributions from @firstof9 moving the project forward and keeping it active!
    Buy Us A Coffee

How it works

From your instance of HASS, the Mail and Packages integration connects to the email account you supply where your shipment notifications are sent. It reviews at the subject lines of the current day's emails from the supported shippers and counts the subject lines that match known language from the supported shippers about their transit status. For USPS Informed delivery emails, it also downloads the mail images to combine them into a rotating GIF. See the WIKI information on how this works.

The email can not be deleted until the next day. You can have your email filtered into a folder and have the integration watch that folder.

The image will revert back to the no mail graphic after the first email check after midnight, local time.

  • All procedures are done locally on your machine.
  • No external services are used to process your email.
  • No data is sent outside of your local instance of Home Assistant
*Privacy / Security Note

Please note that files stored in the

Home Assistant folder are publicly accessible unless you have taken security measures outside of Home Assistant to secure it. For increased security and simplicity the USPS Informed Delivery image name is random by default and no longer has the option to turn it on/off. Two new sensors have been created that provide the local file path or a web accessible url for use in displaying or sending in various Home Assistant notification methods.
  • sensor.mail_image_system_path
  • sensor.mail_image_url
    - Requires that either
    is defined in the general configuration options in Home Assistant.




Supported Shipper Requirements

Template and Examples

USPS Informed Delivery Image

Text Summary


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.