Rodolfo García Peñas (kix) 7980f7ff1a IMAP.py calls Internaldate2epoch with bytes argument
The function Internaldate2epoch needs a bytes argument,
not an string, we need encode it:

imaplibutil.Internaldate2epoch(messagestr.encode('utf-8'))
2020-09-01 17:40:12 +02:00
..
2020-08-29 20:04:40 +02:00
2020-08-30 18:21:00 +02:00
2020-08-29 20:15:55 +02:00
2020-08-29 20:16:35 +02:00
2020-08-30 18:37:09 +02:00
2020-08-30 18:43:22 +02:00
2020-08-31 16:24:26 +02:00