text:
ISSUE: Incorrect Amazon count (sensor.mail_amazon_packages)

Describe the bug
The sensor.mail_amazon_packages count is 3 when it should be 1.
I only have two emails from Amazon from the past 3 days (which is what the component searches for).  One is the ship confirmation, and one is the delivered confirmation.
The sensor.mail_amazon_packages_delivered is correct (it says 1), but I can't figure out why the overall count is 3.
The logs seem to indicate it's only finding 1 tracking number.
Environment (please complete the following information):

OS: HassOS
Type of device: NUC
Home Assistant version: core-2021.8.8
Component version: 0.3.3-b13

Logs

Logs
2021-08-29 18:03:24 INFO (MainThread) [custom_components.mail_and_packages] Version 0.3.3-b13 is starting, if you have any issues please report them here: http://github.com/moralmunky/Home-Assistant-Mail-And-Packages
2021-08-29 18:03:24 DEBUG (MainThread) [custom_components.mail_and_packages] Data will be update every 0:30:00
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Created: 29-Aug-2021, Today: 29-Aug-2021
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Image Name: ec08d9cf-8071-4a79-b583-8cdcf3517bd0.gif
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Copying /config/custom_components/mail_and_packages/mail_none.gif to /config/custom_components/mail_and_packages/images/ec08d9cf-8071-4a79-b583-8cdcf3517bd0.gif
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Image name: ec08d9cf-8071-4a79-b583-8cdcf3517bd0.gif
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Created: 29-Aug-2021, Today: 29-Aug-2021
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Image Name: 0761d8ea-e54f-4477-bd61-b0af20a9476a.jpg
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Copying /config/custom_components/mail_and_packages/no_deliveries.jpg to /config/custom_components/mail_and_packages/images/amazon/0761d8ea-e54f-4477-bd61-b0af20a9476a.jpg
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon Image Name: 0761d8ea-e54f-4477-bd61-b0af20a9476a.jpg
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Image path: custom_components/mail_and_packages/images/
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon delivered email(s)...
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.com
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.com" SUBJECT "Delivered: Your" SINCE "29-Aug-2021")
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b'2402'])
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 1
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Processing HTML email...
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon img URL: https://us-prod-temp.s3.amazonaws.com/imageId-d0bdc984-ddbd-5ff4-4790-319a0d81fe1e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210829T175449Z&X-Amz-SignedHeaders=host&X-Amz-Expires=259200&X-Amz-Credential=AKIAUYTL4NQG2SEVTB7I%2F20210829%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=d695a2a4aac13f9503ed5c25c1b73e53ad6f8a3f4f2d3edb9da1787ea315d14c
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.com
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.com" SUBJECT "Consegna effettuata:" SINCE "29-Aug-2021")
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.ca
2021-08-29 18:03:25 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.ca" SUBJECT "Delivered: Your" SINCE "29-Aug-2021")
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.ca
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.ca" SUBJECT "Consegna effettuata:" SINCE "29-Aug-2021")
2021-08-29 18:03:26 DEBUG (MainThread) [custom_components.mail_and_packages.helpers] URL content-type: image/jpeg
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.co.uk
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.co.uk" SUBJECT "Delivered: Your" SINCE "29-Aug-2021")
2021-08-29 18:03:26 DEBUG (MainThread) [custom_components.mail_and_packages.helpers] Downloading image to: /config/custom_components/mail_and_packages/images/amazon/0761d8ea-e54f-4477-bd61-b0af20a9476a.jpg
2021-08-29 18:03:26 DEBUG (MainThread) [custom_components.mail_and_packages.helpers] Amazon image downloaded
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.co.uk
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.co.uk" SUBJECT "Consegna effettuata:" SINCE "29-Aug-2021")
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.de
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.de" SUBJECT "Delivered: Your" SINCE "29-Aug-2021")
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.de
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.de" SUBJECT "Consegna effettuata:" SINCE "29-Aug-2021")
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.it
2021-08-29 18:03:26 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.it" SUBJECT "Delivered: Your" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.it
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.it" SUBJECT "Consegna effettuata:" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 1
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: amazon_delivered Count: 1
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon domains to be checked: ['amazon.com', 'amazon.ca', 'amazon.co.uk', 'amazon.in', 'amazon.de', 'amazon.it']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.com']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.com" SUBJECT "Delivery update:" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.ca']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.ca" SUBJECT "Delivery update:" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.co.uk']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.co.uk" SUBJECT "Delivery update:" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.in']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.in" SUBJECT "Delivery update:" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.de']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.de" SUBJECT "Delivery update:" SINCE "29-Aug-2021")
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.it']
2021-08-29 18:03:27 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.it" SUBJECT "Delivery update:" SINCE "29-Aug-2021")
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: amazon_exception Count: 0
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] [Hub] Amazon email list: ['thehub@amazon.com']
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "thehub@amazon.com" SINCE "29-Aug-2021")
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon hub emails found: 0
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: amazon_hub Count: 0
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find Amazon email with item list ...
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email list: ['amazon.com', 'amazon.ca', 'amazon.co.uk', 'amazon.in', 'amazon.de', 'amazon.it']
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.com', 'conferma-spedizione@amazon.com']
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.com" FROM "conferma-spedizione@amazon.com" SINCE "26-Aug-2021")
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b'2401'])
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 1
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon Subject: Your Amazon.com order #111-2226213-6937805 has shipped
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: will arrive:
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Arrive Date: Sunday, August 29
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Arrive Date: Sunday, August 29
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Arrive Date: Sunday, August 29
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is:
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is:
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriving:
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriverà:
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.ca', 'conferma-spedizione@amazon.ca']
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.ca" FROM "conferma-spedizione@amazon.ca" SINCE "26-Aug-2021")
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.co.uk', 'conferma-spedizione@amazon.co.uk']
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.co.uk" FROM "conferma-spedizione@amazon.co.uk" SINCE "26-Aug-2021")
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.in', 'conferma-spedizione@amazon.in']
2021-08-29 18:03:28 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.in" FROM "conferma-spedizione@amazon.in" SINCE "26-Aug-2021")
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.de', 'conferma-spedizione@amazon.de']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.de" FROM "conferma-spedizione@amazon.de" SINCE "26-Aug-2021")
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.it', 'conferma-spedizione@amazon.it']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.it" FROM "conferma-spedizione@amazon.it" SINCE "26-Aug-2021")
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon Count: 3
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find Amazon email with item list ...
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email list: ['amazon.com', 'amazon.ca', 'amazon.co.uk', 'amazon.in', 'amazon.de', 'amazon.it']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.com', 'conferma-spedizione@amazon.com']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.com" FROM "conferma-spedizione@amazon.com" SINCE "26-Aug-2021")
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b'2401'])
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 1
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon Subject: Your Amazon.com order #111-2226213-6937805 has shipped
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: will arrive:
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Arrive Date: Sunday, August 29
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Arrive Date: Sunday, August 29
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Arrive Date: Sunday, August 29
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is:
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is:
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriving:
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriverà:
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.ca', 'conferma-spedizione@amazon.ca']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.ca" FROM "conferma-spedizione@amazon.ca" SINCE "26-Aug-2021")
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.co.uk', 'conferma-spedizione@amazon.co.uk']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.co.uk" FROM "conferma-spedizione@amazon.co.uk" SINCE "26-Aug-2021")
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.in', 'conferma-spedizione@amazon.in']
2021-08-29 18:03:29 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.in" FROM "conferma-spedizione@amazon.in" SINCE "26-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.de', 'conferma-spedizione@amazon.de']
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.de" FROM "conferma-spedizione@amazon.de" SINCE "26-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.it', 'conferma-spedizione@amazon.it']
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.it" FROM "conferma-spedizione@amazon.it" SINCE "26-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon order: ['111-2226213-6937805']
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: amazon_packages Count: 3
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery)
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR FROM "donotreply_odd@dhl.com" FROM "NoReply.ODD@dhl.com" FROM "noreply@dhl.de" SUBJECT "DHL On Demand Delivery" SINCE "29-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for (has been delivered) in (0) emails
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (has been delivered) count results: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery) results: b'' count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: dhl_delivered Count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery)
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR FROM "donotreply_odd@dhl.com" FROM "NoReply.ODD@dhl.com" FROM "noreply@dhl.de" SUBJECT "DHL On Demand Delivery" SINCE "29-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for (scheduled for delivery TODAY) in (0) emails
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (scheduled for delivery TODAY) count results: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery) results: b'' count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (paket kommt heute)
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR FROM "donotreply_odd@dhl.com" FROM "NoReply.ODD@dhl.com" FROM "noreply@dhl.de" SUBJECT "paket kommt heute" SINCE "29-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for (scheduled for delivery TODAY) in (0) emails
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (scheduled for delivery TODAY) count results: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (paket kommt heute) results: b'' count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: dhl_delivering Count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: dhl_packages Count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package has been delivered)
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Your package has been delivered" SINCE "29-Aug-2021")
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package has been delivered) results: b'' count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: fedex_delivered Count: 0
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Delivery scheduled for today)
2021-08-29 18:03:30 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Delivery scheduled for today" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Delivery scheduled for today) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is scheduled for delivery today)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Your package is scheduled for delivery today" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is scheduled for delivery today) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is now out for delivery)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Your package is now out for delivery" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is now out for delivery) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: fedex_delivering Count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: fedex_packages Count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: mail_updated Count: Aug-29-2021 06:03 PM
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (Your UPS Package was delivered)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "Your UPS Package was delivered" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (Your UPS Package was delivered) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (Your UPS Packages were delivered)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "Your UPS Packages were delivered" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (Your UPS Packages were delivered) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: ups_delivered Count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (UPS Update: Package Scheduled for Delivery Today)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "UPS Update: Package Scheduled for Delivery Today" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (UPS Update: Package Scheduled for Delivery Today) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (UPS Update: Follow Your Delivery on a Live Map)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "UPS Update: Follow Your Delivery on a Live Map" SINCE "29-Aug-2021")
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (UPS Update: Follow Your Delivery on a Live Map) results: b'' count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: ups_delivering Count: 0
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (UPS Update: New Scheduled Delivery Date)
2021-08-29 18:03:31 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "UPS Update: New Scheduled Delivery Date" SINCE "29-Aug-2021")
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (UPS Update: New Scheduled Delivery Date) results: b'' count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: ups_exception Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: ups_packages Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Item Delivered)
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Item Delivered" SINCE "29-Aug-2021")
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Item Delivered) results: b'' count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: usps_delivered Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Expected Delivery on)
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Expected Delivery on" SINCE "29-Aug-2021")
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for (Your item is out for delivery) in (0) emails
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (Your item is out for delivery) count results: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Expected Delivery on) results: b'' count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Out for Delivery)
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Out for Delivery" SINCE "29-Aug-2021")
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Searching for (Your item is out for delivery) in (0) emails
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (Your item is out for delivery) count results: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Out for Delivery) results: b'' count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: usps_delivering Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Delivery Exception)
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Delivery Exception" SINCE "29-Aug-2021")
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Delivery Exception) results: b'' count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: usps_exception Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Attempting to find Informed Delivery mail
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Informed delivery search date: 29-Aug-2021
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "USPSInformedDelivery@usps.gov" FROM "USPSInformeddelivery@informeddelivery.usps.com" SUBJECT "Your Daily Digest" SINCE "29-Aug-2021")
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Cleaning up image directory: /config/custom_components/mail_and_packages/images/
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Checking for overlay files in: /config/custom_components/mail_and_packages/images/
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Copying file to: /config/custom_components/mail_and_packages/images/overlay.png
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Copying file to: /config/custom_components/mail_and_packages/images/vignette.png
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Copying file to: /config/custom_components/mail_and_packages/images/white.png
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Informed Delivery email found processing...
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Removing duplicate images.
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Removing USPS announcement images.
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Image Count: 0
2021-08-29 18:03:32 INFO (SyncWorker_1) [custom_components.mail_and_packages.helpers] No mail found.
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Copying nomail gif
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: usps_mail Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: usps_packages Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: zpackages_delivered Count: 0
2021-08-29 18:03:32 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: zpackages_transit Count: 0
2021-08-29 18:03:32 DEBUG (MainThread) [custom_components.mail_and_packages] Finished fetching Mail and Packages (imap.gmail.com) data in 8.545 seconds

Need the top part of the debug log that's missing.

My bad.  I updated the original post.  Thanks!

This should be resolved in b14, please let me know.

Right on, thank you.  I guess I'll need to order something to test it out!  I'll let you know.

Looks like it worked, I have a 1 today instead of a 3.  Thanks again!

Hello again.  I'm sorry to report that I think something is still off.  Yesterday it seemed as though everything worked correctly.  I had a 1 for sensor.mail_amazon_packages and then after delivery, a 1 for sensor.mail_amazon_packages_delivered.  camera.mail_amazon_delivery_camera also worked correctly.
However, today I still have a 1 for sensor.mail_amazon_packages.  I haven't received any emails from Amazon since the delivery notification yesterday.
In the logs, I see it still seems to be picking up on the same tracking number from yesterday, and it's including September 3rd (and 4th) in it's results.  My system time appears to be correct, and the log timestamp also confirms this.
Is the issue just that it's looking back to yesterday?
Log:
2021-09-04 14:11:30 INFO (MainThread) [homeassistant.setup] Setting up mail_and_packages
2021-09-04 14:11:30 INFO (MainThread) [homeassistant.setup] Setup of domain mail_and_packages took 0.0 seconds
2021-09-04 14:11:30 INFO (MainThread) [custom_components.mail_and_packages] Version 0.3.3-b14 is starting, if you have any issues please report them here: http://github.com/moralmunky/Home-Assistant-Mail-And-Packages
2021-09-04 14:11:30 DEBUG (MainThread) [custom_components.mail_and_packages] Data will be update every 0:30:00
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Created: 04-Sep-2021, Today: 04-Sep-2021
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Image Name: d44dab23-901f-4798-b175-781f9a19e3be.gif
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Copying /config/custom_components/mail_and_packages/mail_none.gif to /config/custom_components/mail_and_packages/images/d44dab23-901f-4798-b175-781f9a19e3be.gif
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Image name: d44dab23-901f-4798-b175-781f9a19e3be.gif
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Created: 03-Sep-2021, Today: 04-Sep-2021
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Created: 04-Sep-2021, Today: 04-Sep-2021
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Image Name: 804222e4-ab2a-4791-a135-da4daa1712ad.jpg
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Copying /config/custom_components/mail_and_packages/no_deliveries.jpg to /config/custom_components/mail_and_packages/images/amazon/804222e4-ab2a-4791-a135-da4daa1712ad.jpg
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon Image Name: 804222e4-ab2a-4791-a135-da4daa1712ad.jpg
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Image path: custom_components/mail_and_packages/images/
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon delivered email(s)...
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.com
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.com" SUBJECT "Delivered: Your" SINCE "04-Sep-2021")
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.com
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.com" SUBJECT "Consegna effettuata:" SINCE "04-Sep-2021")
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.ca
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.ca" SUBJECT "Delivered: Your" SINCE "04-Sep-2021")
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.ca
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.ca" SUBJECT "Consegna effettuata:" SINCE "04-Sep-2021")
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.co.uk
2021-09-04 14:11:31 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.co.uk" SUBJECT "Delivered: Your" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.co.uk
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.co.uk" SUBJECT "Consegna effettuata:" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.in
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.in" SUBJECT "Delivered: Your" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.in
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.in" SUBJECT "Consegna effettuata:" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.de
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.de" SUBJECT "Delivered: Your" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.de
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.de" SUBJECT "Consegna effettuata:" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.it
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.it" SUBJECT "Delivered: Your" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: order-update@amazon.it
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.it" SUBJECT "Consegna effettuata:" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon delivered email(s) found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for Amazon image in emails...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] HTML Amazon emails found: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: amazon_delivered Count: 0
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon domains to be checked: ['amazon.com', 'amazon.ca', 'amazon.co.uk', 'amazon.in', 'amazon.de', 'amazon.it']
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.com']
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.com" SUBJECT "Delivery update:" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.ca']
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.ca" SUBJECT "Delivery update:" SINCE "04-Sep-2021")
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.co.uk']
2021-09-04 14:11:32 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.co.uk" SUBJECT "Delivery update:" SINCE "04-Sep-2021")
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.in']
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.in" SUBJECT "Delivery update:" SINCE "04-Sep-2021")
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.de']
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.de" SUBJECT "Delivery update:" SINCE "04-Sep-2021")
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['order-update@amazon.it']
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "order-update@amazon.it" SUBJECT "Delivery update:" SINCE "04-Sep-2021")
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Found 0 Amazon exceptions
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for tracking numbers in 0 messages...
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] No tracking numbers found
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: amazon_exception Count: 0
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] [Hub] Amazon email list: ['thehub@amazon.com']
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "thehub@amazon.com" SINCE "04-Sep-2021")
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon hub emails found: 0
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: amazon_hub Count: 0
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find Amazon email with item list ...
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email list: ['amazon.com', 'amazon.ca', 'amazon.co.uk', 'amazon.in', 'amazon.de', 'amazon.it']
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.com', 'conferma-spedizione@amazon.com']
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.com" FROM "conferma-spedizione@amazon.com" SINCE "01-Sep-2021")
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b'2761 2762'])
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 2
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-09-04 14:11:33 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon Subject: Your Amazon.com order #113-7748849-7379437 has shipped
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: will arrive:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Friday, September 3
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Friday, September 3
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Friday, September 3
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriving:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriverà:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon Subject: Your Amazon.com order #113-7748849-7379437 has shipped
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: will arrive:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Saturday, September 4
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Saturday, September 4
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Saturday, September 4
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriving:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriverà:
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.ca', 'conferma-spedizione@amazon.ca']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.ca" FROM "conferma-spedizione@amazon.ca" SINCE "01-Sep-2021")
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.co.uk', 'conferma-spedizione@amazon.co.uk']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.co.uk" FROM "conferma-spedizione@amazon.co.uk" SINCE "01-Sep-2021")
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.in', 'conferma-spedizione@amazon.in']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.in" FROM "conferma-spedizione@amazon.in" SINCE "01-Sep-2021")
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.de', 'conferma-spedizione@amazon.de']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.de" FROM "conferma-spedizione@amazon.de" SINCE "01-Sep-2021")
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.it', 'conferma-spedizione@amazon.it']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.it" FROM "conferma-spedizione@amazon.it" SINCE "01-Sep-2021")
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon Count: 3
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find Amazon email with item list ...
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email list: ['amazon.com', 'amazon.ca', 'amazon.co.uk', 'amazon.in', 'amazon.de', 'amazon.it']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.com', 'conferma-spedizione@amazon.com']
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.com" FROM "conferma-spedizione@amazon.com" SINCE "01-Sep-2021")
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b'2761 2762'])
2021-09-04 14:11:34 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 2
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon Subject: Your Amazon.com order #113-7748849-7379437 has shipped
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: will arrive:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Friday, September 3
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Friday, September 3
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Friday, September 3
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriving:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriverà:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Email Multipart: True
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon Subject: Your Amazon.com order #113-7748849-7379437 has shipped
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: will arrive:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Saturday, September 4
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Saturday, September 4
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Arrive Date: Saturday, September 4
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriving:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Looking for: Arriverà:
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.ca', 'conferma-spedizione@amazon.ca']
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.ca" FROM "conferma-spedizione@amazon.ca" SINCE "01-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.co.uk', 'conferma-spedizione@amazon.co.uk']
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.co.uk" FROM "conferma-spedizione@amazon.co.uk" SINCE "01-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.in', 'conferma-spedizione@amazon.in']
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.in" FROM "conferma-spedizione@amazon.in" SINCE "01-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.de', 'conferma-spedizione@amazon.de']
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.de" FROM "conferma-spedizione@amazon.de" SINCE "01-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.it', 'conferma-spedizione@amazon.it']
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "shipment-tracking@amazon.it" FROM "conferma-spedizione@amazon.it" SINCE "01-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon emails found: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Amazon order: ['113-7748849-7379437']
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: amazon_packages Count: 1
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery)
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR FROM "donotreply_odd@dhl.com" FROM "NoReply.ODD@dhl.com" FROM "noreply@dhl.de" SUBJECT "DHL On Demand Delivery" SINCE "04-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for (has been delivered) in (0) emails
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (has been delivered) count results: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery) results: b'' count: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: dhl_delivered Count: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery)
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR FROM "donotreply_odd@dhl.com" FROM "NoReply.ODD@dhl.com" FROM "noreply@dhl.de" SUBJECT "DHL On Demand Delivery" SINCE "04-Sep-2021")
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for (scheduled for delivery TODAY) in (0) emails
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (scheduled for delivery TODAY) count results: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (DHL On Demand Delivery) results: b'' count: 0
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (paket kommt heute)
2021-09-04 14:11:35 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR FROM "donotreply_odd@dhl.com" FROM "NoReply.ODD@dhl.com" FROM "noreply@dhl.de" SUBJECT "paket kommt heute" SINCE "04-Sep-2021")
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for (scheduled for delivery TODAY) in (0) emails
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (scheduled for delivery TODAY) count results: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['donotreply_odd@dhl.com', 'NoReply.ODD@dhl.com', 'noreply@dhl.de']) with subject (paket kommt heute) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: dhl_delivering Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: dhl_packages Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package has been delivered)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Your package has been delivered" SINCE "04-Sep-2021")
2021-09-04 14:11:36 INFO (SyncWorker_6) [googleapiclient.discovery] URL being requested: GET https://www.googleapis.com/calendar/v3/calendars/8on8ukhv85629pn2a3knrb9tb4%40group.calendar.google.com/events?orderBy=startTime&singleEvents=true&maxResults=100&timeMin=2021-09-04T14%3A11%3A36.120684-05%3A00&alt=json
2021-09-04 14:11:36 INFO (SyncWorker_3) [googleapiclient.discovery] URL being requested: GET https://www.googleapis.com/calendar/v3/users/me/calendarList?alt=json
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package has been delivered) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: fedex_delivered Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Delivery scheduled for today)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Delivery scheduled for today" SINCE "04-Sep-2021")
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Delivery scheduled for today) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is scheduled for delivery today)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Your package is scheduled for delivery today" SINCE "04-Sep-2021")
2021-09-04 14:11:36 INFO (SyncWorker_4) [googleapiclient.discovery] URL being requested: GET https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is scheduled for delivery today) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is now out for delivery)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "TrackingUpdates@fedex.com" FROM "fedexcanada@fedex.com" SUBJECT "Your package is now out for delivery" SINCE "04-Sep-2021")
2021-09-04 14:11:36 INFO (SyncWorker_4) [googleapiclient.discovery] URL being requested: GET https://www.googleapis.com/calendar/v3/calendars/en.usa%23holiday%40group.v.calendar.google.com/events?orderBy=startTime&singleEvents=true&maxResults=100&timeMin=2021-09-04T14%3A11%3A36.468939-05%3A00&alt=json
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['TrackingUpdates@fedex.com', 'fedexcanada@fedex.com']) with subject (Your package is now out for delivery) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: fedex_delivering Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: fedex_packages Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: mail_updated Count: Sep-04-2021 02:11 PM
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (Your UPS Package was delivered)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "Your UPS Package was delivered" SINCE "04-Sep-2021")
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (Your UPS Package was delivered) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (Your UPS Packages were delivered)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "Your UPS Packages were delivered" SINCE "04-Sep-2021")
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (Your UPS Packages were delivered) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: ups_delivered Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (UPS Update: Package Scheduled for Delivery Today)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "UPS Update: Package Scheduled for Delivery Today" SINCE "04-Sep-2021")
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (UPS Update: Package Scheduled for Delivery Today) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (UPS Update: Follow Your Delivery on a Live Map)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "UPS Update: Follow Your Delivery on a Live Map" SINCE "04-Sep-2021")
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (UPS Update: Follow Your Delivery on a Live Map) results: b'' count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: ups_delivering Count: 0
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['mcinfo@ups.com']) with subject (UPS Update: New Scheduled Delivery Date)
2021-09-04 14:11:36 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "mcinfo@ups.com" SUBJECT "UPS Update: New Scheduled Delivery Date" SINCE "04-Sep-2021")
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['mcinfo@ups.com']) with subject (UPS Update: New Scheduled Delivery Date) results: b'' count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: ups_exception Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: ups_packages Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Item Delivered)
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Item Delivered" SINCE "04-Sep-2021")
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Item Delivered) results: b'' count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: usps_delivered Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Expected Delivery on)
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Expected Delivery on" SINCE "04-Sep-2021")
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for (Your item is out for delivery) in (0) emails
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (Your item is out for delivery) count results: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Expected Delivery on) results: b'' count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Out for Delivery)
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Out for Delivery" SINCE "04-Sep-2021")
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Searching for (Your item is out for delivery) in (0) emails
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (Your item is out for delivery) count results: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Out for Delivery) results: b'' count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: usps_delivering Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find mail from (['auto-reply@usps.com']) with subject (Delivery Exception)
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "auto-reply@usps.com" SUBJECT "Delivery Exception" SINCE "04-Sep-2021")
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Search for (['auto-reply@usps.com']) with subject (Delivery Exception) results: b'' count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: usps_exception Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Attempting to find Informed Delivery mail
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Informed delivery search date: 04-Sep-2021
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM "USPSInformedDelivery@usps.gov" FROM "USPSInformeddelivery@informeddelivery.usps.com" SUBJECT "Your Daily Digest" SINCE "04-Sep-2021")
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] DEBUG email_search value: ('OK', [b''])
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Cleaning up image directory: /config/custom_components/mail_and_packages/images/
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Checking for overlay files in: /config/custom_components/mail_and_packages/images/
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Copying file to: /config/custom_components/mail_and_packages/images/overlay.png
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Copying file to: /config/custom_components/mail_and_packages/images/vignette.png
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Copying file to: /config/custom_components/mail_and_packages/images/white.png
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Informed Delivery email found processing...
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Removing duplicate images.
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Removing USPS announcement images.
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Image Count: 0
2021-09-04 14:11:37 INFO (SyncWorker_0) [custom_components.mail_and_packages.helpers] No mail found.
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Copying nomail gif
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: usps_mail Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: usps_packages Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: zpackages_delivered Count: 0
2021-09-04 14:11:37 DEBUG (SyncWorker_0) [custom_components.mail_and_packages.helpers] Sensor: zpackages_transit Count: 0
2021-09-04 14:11:37 DEBUG (MainThread) [custom_components.mail_and_packages] Finished fetching Mail and Packages (imap.gmail.com) data in 7.010 seconds (success: True)

Did the email only have the "Arrive date" for the 3rd?

OK here is what happened.  I only had 1 order, but it had 2 items in it.  The original arrival date for 1 of the items was the 3rd, and the other was the 4th.  Same order number, but two different emails were sent (and gmail combines them and since the content was mostly the same, does that thing where it hides it behind ...).
Then, both items actually arrived on the 3rd.  Nothing arrived on the 4th.
Both of the "delivered" emails came on the 3rd.
This is definitely an edge case where something was delivered a day early.  I don't know if it's something you want to address by trying to count how many different "delivered" emails arrive vs. the number of "shipment" emails for the same order number.
Either way, not something I expect you do be able to do something about because I'm sure the above solution has it's own edge cases.
Just wanted to point it out.  Today the sensor is back to 0 as it should be.
Thanks for all of your work on this!

Ya if the Amazon email says a date, then we assume it'll be on that day hence the 1 for the 4th. So technically it was working as expected.