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

Probably just replace the gif with yours keeping the same name.

1 Like

You can also check the box for this, tho this might be for the Amazon image, Iā€™ll have to double check.

Edit: verified this checkbox is for the ā€œcustom no mailā€ image. The config label just needs updating.

1 Like

Thanks. I was looking quite a while for this option. However, since I didnā€™t find it, I went into the Python code for Mail and Packages, and edited the code it uses for this. Worked great.

I just realized this morning that the Informed Delivery email from the USPS has been redesigned. Looks like the change happened last week. Since I just started using Mail and Packages over the weekend, Iā€™m just curious if this would have any effect on how the integration parses the information for todayā€™s mail.

It does not, the integration uses the plain text version of the email not the html version.

I canā€™t get this sensor working please advise

Having a hell of a time getting it to work with protonmail. Has anyone had any success?

Whatā€™s the error youā€™re seeing?

This error originated from a custom integration.

Logger: custom_components.mail_and_packages.helpers
Source: custom_components/mail_and_packages/helpers.py:128
integration: Mail and Packages (documentation, issues)
First occurred: 11:07:03 AM (1 occurrences)
Last logged: 11:07:03 AM

Error connecting into IMAP Server: [Errno 111] Connection refused

[2024-06-22 11:26:20.511] INFO: Staring ProtonMail Bridge addon
[2024-06-22 11:26:21.234] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[2024-06-22 11:26:23.206] INFO: Not connected - adding account to ProtonMail Bridge
[2024-06-22 11:26:54.681] ERROR: Timeout while authenticating
[2024-06-22 11:26:56.244] ERROR: Cannot connect - Please check errors above
[cmd] bashio exited 0
[cont-finish.d] executing container finish scriptsā€¦

The setup I have is the protonmail bridge addon in homeassistant.
configured with protonmail username and password. As per addon documentation
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Please try the latest beta, I believe you need to use Proton Mail Bridge and then you can use the new startTLS IMAP security option.

Ok, Iā€™ve got the beta running and the protonbridge. I have the protonbridge ha addon and also the bridge running on a seperate laptop. When trying to connect to either I get the same errors as before

The wiki has been recently updated with instructions for Proton Mail you can also reference this issue.

Iā€™ve got a sensor setup for the mail summary message (right now using one of the examples). Sensor is working fine (I can get a sensor card that gives me the message). However Iā€™m at a loss as to how to get that the message into the mail and packages custom card.

Sorry, I havenā€™t any idea about the custom card.

Is this still up to date and working? Iā€™d love to have UPS/Amazon deliveries integrated into my HA Dashboard

Yes it is.

Thank you for this wonderful integration.

Any chance this integration could scrape the overdue status of Library Books from emails?

Not really in the scope of this project.

1 Like

im getting this error now and dont know how to fix it?

This error originated from a custom integration.

Logger: custom_components.mail_and_packages.helpers
Source: custom_components/mail_and_packages/helpers.py:252
integration: Mail and Packages (documentation, issues)
First occurred: 9:15:58 PM (1 occurrences)
Last logged: 9:15:58 PM

Problem copying files from /config/custom_components/mail_and_packages/images/ to /config/www/mail_and_packages/ error returned: [('/config/custom_components/mail_and_packages/images/amazon/06016391-8a5d-4e4e-9ffb-15e796b0795c.jpg', '/config/www/mail_and_packages/amazon/06016391-8a5d-4e4e-9ffb-15e796b0795c.jpg', '[Errno 2] No such file or directory')]

Does /config/www/mail_and_packages/amazon/ exist?