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-30 13:05:32 +02:00
2020-08-30 13:20:17 +02:00
2020-08-30 13:51:34 +02:00